MEGA 180 - NASTY memory leak

Run the Media Center Deluxe III application.
Open up the Windows Task Manager (which is always on top) and select the Performance tab.  Now navigate the Media Center application with the remote and watch your available memory go down with EVERY remote button press.

No, like any memory leak, it is gone for good, although it might be reclaimed if you exit the program.
Obviously this can have severe consequences on the stability of the OS.  Windows chokes in low memory situations.

Similar Messages

  • Nasty memory leak using sockets inside threads

    In short, any time I create or use a socket inside a worker thread, that Thread object instance will never be garbage collected. The socket does not need to be connected or bound, it doesn't matter whether I close the socket or not, and it doesn't matter whether I create the Socket object inside the thread or not. As I said, it's nasty.
    I initially encountered this memory leak using httpclient (which creates a worker thread for every connect() call), but it is very easy to reproduce with a small amount of stand-alone code. I'm running this test on Windows, and I encounter this memory leak using the latest 1.5 and 1.6 JDK's. I'm using the NetBeans 5.5 profiler to verify which objects are not being freed.
    Here's how to reproduce it with an unbound socket created inside a worker thread:
    public class Test {
         public static class TestRun extends Thread {
              public void run() {
                   new Socket();
         public static void main(String[] strArgs) throws Exception {
              for(;;) {
                   (new TestRun()).start();
                   Thread.sleep(10);
    }Here's how to reproduce it with a socket created outside the thread and used inside the worker thread:
    public class Test {
         public static class TestRun extends Thread {
              Socket s;
              public TestRun(Socket s) { this.s = s; }
              public void run() {
                   try {
                        s.bind(new InetSocketAddress(0));
                        s.close();
                   } catch(Exception e) {}
         public static void main(String[] strArgs) throws Exception {
              for(;;) {
                   (new TestRun(new Socket())).start();
                   Thread.sleep(10);
    }Here's how to reproduce it implementing Runnable instead of extending Thread:
    public class Test {
         public static class TestRun implements Runnable {
              public void run() {
                   Socket s = new Socket();
                   try { s.close(); } catch(Exception e) {}
         public static void main(String[] strArgs) throws Exception {
              for(;;) {
                   (new Thread(new TestRun())).start();
                   Thread.sleep(10);
    }I've played with this a lot, and no matter what I do the Thread instance leaks if I create/use a socket inside it. The Socket instance gets cleaned up properly, as well as the TestRun instance when it's implementing Runnable, but the Thread instance never gets cleaned up. I can't see anything that would be holding a reference to it, so I can only imagine it's a problem with the JVM.
    Please let me know if you can help me out with this,
    Sean

    Find out what is being leaked. In the sample programs, add something like this:
        static int loop_count;
            while (true) {
                if (++count >= 1000) {
              System.gc();
              Thread.sleep(500); // In case gc is async
              System.gc();
              Thread.sleep(500);
              System.exit(0);
            }Then run with java -Xrunhprof:heap=sites YourProgram
    At program exit you get the file java.hprof.txt which contains something like this towards the end of the file:
              percent          live          alloc'ed  stack class
    rank   self  accum     bytes objs     bytes  objs trace name
        1  0.47%  0.47%       736    5       736     5 300036 char[]
        2  0.39%  0.87%       616    3       616     3 300000 java.lang.Thread
        3  0.30%  1.17%       472    2       472     2 300011 java.lang.ThreadLocal$ThreadLocalMap$Entry[]
        4  0.27%  1.43%       416    2       416     2 300225 java.net.InetAddress$Cache$Type[]See, only three live Thread objects (the JVM allocates a few threads internally, plus there is the thread running main()). No leak there. Your application probably has some type of object that it's retaining. Look at "live bytes" and "live objs" to see where your memory is going. The "stack trace" column refers to the "TRACE nnnnn"'s earlier in the file, look at those to see where the leaked objects are allocated.
    Other quickies to track allocation:
    Print stats at program exit:
    java -Xaprof YourProgram
    If your JDK comes with the demo "heapViewer.dll" (or
    heapViewer.so or whatever dynamic libraries are called on your system):
    java -agentpath:"c:\Program Files\Java\jdk1.6.0\demo\jvmti\heapViewer\lib\heapViewer.dll" YourProgram
    Will print out statistics at program exit or when you hit Control-\ (Unix) or Control-Break (Windows).

  • Custom MediaStreamSource and Memory Leaks During SampleRequested

    Greetings,
    I have a nasty memory leak problem that is causing me to pull my hair out.
    I'm implementing a custom MediaStreamSource along with MediaTranscoder to generate video to disk. The frame generation operation occurs in the SampleRequested handler (as in the MediaStreamSource example). No matter what I do - and I've tried a
    ton of options - inevitably the app runs out of memory after a couple hundred frames of HD video. Investigating, I see that indeed GC.GetTotalMemory reports an increasing, and never decreasing, amount of allocated RAM. 
    The frame generator in my actual app is using RenderTargetBitmap to get screen captures, and is handing the buffer to MediaStreamSample.CreateFromBuffer(). However, as you can see in the example below, the issue occurs even with a dumb allocation
    of RAM and no other actual logic. Here's the code:
    void _mss_SampleRequested(Windows.Media.Core.MediaStreamSource sender, MediaStreamSourceSampleRequestedEventArgs args)
    if ( args.Request.StreamDescriptor is VideoStreamDescriptor )
    if (_FrameCount >= 3000) return;
    var videoDeferral = args.Request.GetDeferral();
    var descriptor = (VideoStreamDescriptor)args.Request.StreamDescriptor;
    uint frameWidth = descriptor.EncodingProperties.Width;
    uint frameHeight = descriptor.EncodingProperties.Height;
    uint size = frameWidth * frameHeight * 4;
    byte[] buffer = null;
    try
    buffer = new byte[size];
    // do something to create the frame
    catch
    App.LogAction("Ran out of memory", this);
    return;
    args.Request.Sample = MediaStreamSample.CreateFromBuffer(buffer.AsBuffer(), TimeFromFrame(_FrameCount++, _frameSource.Framerate));
    args.Request.Sample.Duration = TimeFromFrame(1, _frameSource.Framerate);
    buffer = null; // attempt to release the memory
    videoDeferral.Complete();
    App.LogAction("Completed Video frame " + (_FrameCount-1).ToString() + "\n" +
    "Allocated memory: " + GC.GetTotalMemory(true), this);
    return;
    It usually fails around frame 357, with GC.GetTotalMemory() reporting 750MB allocated.
    I've tried tons of work-arounds, none of which made a difference. I tried putting the code that allocates the bytes in a separate thread - no dice.  I tried Task.Delay to give the GC a chance to work, on the assumption that it just had no time
    to do its job. No luck.
    As another experiment, I wanted to see if the problem went away if I allocated memory each frame, but never assigned it to the MediaStreamSample, instead giving the sample (constant) dummy data. Indeed, in that scenario, memory consumption stayed
    constant. However, while I never get an out-of-memory exception, RequestSample just stops getting called around frame 1600 and as a result the transcode operation never actually returns to completion.
    I also tried taking a cue from the SDK sample which uses C++ entirely to generate the frame. So I passed the buffer as a Platform::Array<BYTE> to a static Runtime extension class function I wrote in C++.
    I won't bore you with the C++ code, but even directly copying the bytes of the array to the media sample using memcpy still had the same result! It seems that there is no way to communicate the contents of the byte[] array to the media sample without
    it never being released.
    I know what some will say: the difference between my code and the SDK sample, of course, is that the SDK sample generates the frame _entirely_ in C++, thus taking care of its own memory allocation and deallocation. Because I want to get
    the data from RenderTargetBitmap, this isn't an option for me. (As a side note, if anyone knows if there's a way to get the contents of an RT Window using DirectX, that might work too, but I know this is not a C++ forum, so...). But more importantly,
    MediaStreamSource and MediaStreamSample are managed classes that appear to allow you to generate custom frames using C# or other managed code. The MediaStreamSample.CreateFromBuffer function appears to be tailored for exactly what I want. But there appears
    to be no way to release the buffer when giving the bytes to the MediaStreamSample. At least none that I can find.
    I know the RT version of these classes are new to Windows 8.1, but I did see other posts going back 3 years discussing a similar issue in Silverlight. That never appears to have been resolved.
    I guess the question boils down to this: how do I safely get managed data, allocated during the SampleRequested handler, to the MediaStreamSample without causing a memory leak? Also, why would the SampleRequested handler just stop getting called
    out of the blue, even when I artificially eliminate the memory leak problem?
    Thanks so much for all input!

    Hi Rob - 
    Thanks for your quick reply and for clarifying the terminology. 
    In the Memory Usage test under Analyze/Performance and Diagnostics (is that what you mean?) it's clear that each frame of video being created is not released from memory except when memory consumption gets very high. GC will occasionally kick in, but eventually
    it succumbs.
    Interestingly, if I reduce the frame size substantially, say 320x240, it never runs out of RAM no matter how many frames I throw at it. The Memory Usage test, however, shows the same pattern. But this time the GC can keep up and release the RAM.
    After playing with this ad nauseum,  I am fairly convinced I know what the problem is, but the solution still escapes me. It appears that the Transcoder is requesting frames from the MediaStreamSource (and the MediaStreamSource is providing them via
    my SampleRequested handler) faster than the Transcoder can write them to disk and release them. Why would this be happening? The MediaStreamSource.BufferTime property is - I thought - used to prevent this very problem. However, changing the BufferTime seems
    to have no effect at all - even changing it to ZERO doesn't change anything. If I'm right, this would explain why the GC can't do its job - it can't release the buffers I'm giving to the Transcoder via SampleRequested because the Transcoder won't give them
    up until it's finished transcoding and writing them to disk. And yet the transcoder keeps requesting samples until there's no more memory to create them with.
    The following code, which I made from scratch to illustrate my scenario, should be air-tight according to everything I've read. And yet, it still runs out of memory when the frame size is too large. 
    If you or anyone else can spot the problem in this code, I'd be thrilled to hear it. Maybe I'm omitting a key step with regard to getting the deferral? Or maybe it's a bug in the back-end? Can I "slow down" the transcoder and force it to release samples
    it's already used?
    Anyway here's the new code, which other than App.cs is everything. So if I'm doing something wrong it will be in this module:
    using System;
    using System.Collections.Generic;
    using System.IO;
    using System.Threading.Tasks;
    using System.Linq;
    using System.Runtime.InteropServices.WindowsRuntime;
    using System.Diagnostics;
    using Windows.Foundation;
    using Windows.Foundation.Collections;
    using Windows.UI.Xaml;
    using Windows.UI.Xaml.Controls;
    using Windows.UI.Xaml.Controls.Primitives;
    using Windows.UI.Xaml.Data;
    using Windows.UI.Xaml.Input;
    using Windows.UI.Xaml.Media;
    using Windows.UI.Xaml.Navigation;
    using Windows.UI.Popups;
    using Windows.Storage;
    using Windows.Storage.Pickers;
    using Windows.Storage.Streams;
    using Windows.Media.MediaProperties;
    using Windows.Media.Core;
    using Windows.Media.Transcoding;
    // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
    namespace MyTranscodeTest
    /// <summary>
    /// An empty page that can be used on its own or navigated to within a Frame.
    /// </summary>
    public sealed partial class MainPage : Page
    MediaTranscoder _transcoder;
    MediaStreamSource _mss;
    VideoStreamDescriptor _videoSourceDescriptor;
    const int c_width = 1920;
    const int c_height = 1080;
    const int c_frames = 10000;
    const int c_frNumerator = 30000;
    const int c_frDenominator = 1001;
    uint _frameSizeBytes;
    uint _frameDurationTicks;
    uint _transcodePositionTicks = 0;
    uint _frameCurrent = 0;
    Random _random = new Random();
    public MainPage()
    this.InitializeComponent();
    private async void GoButtonClicked(object sender, RoutedEventArgs e)
    Windows.Storage.Pickers.FileSavePicker picker = new Windows.Storage.Pickers.FileSavePicker();
    picker.FileTypeChoices.Add("MP4 File", new List<string>() { ".MP4" });
    Windows.Storage.StorageFile file = await picker.PickSaveFileAsync();
    if (file == null) return;
    Stream outputStream = await file.OpenStreamForWriteAsync();
    var transcodeTask = (await this.InitializeTranscoderAsync(outputStream)).TranscodeAsync();
    transcodeTask.Progress = (asyncInfo, progressInfo) =>
    Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () =>
    _ProgressReport.Text = "Sourcing frame " + _frameCurrent.ToString() + " of " + c_frames.ToString() +
    " with " + GC.GetTotalMemory(false).ToString() + " bytes allocated.";
    await transcodeTask;
    MessageDialog dialog = new MessageDialog("Transcode completed.");
    await dialog.ShowAsync();
    async Task<PrepareTranscodeResult> InitializeTranscoderAsync (Stream output)
    _transcoder = new MediaTranscoder();
    _transcoder.HardwareAccelerationEnabled = false;
    _videoSourceDescriptor = new VideoStreamDescriptor(VideoEncodingProperties.CreateUncompressed( MediaEncodingSubtypes.Bgra8, c_width, c_height ));
    _videoSourceDescriptor.EncodingProperties.PixelAspectRatio.Numerator = 1;
    _videoSourceDescriptor.EncodingProperties.PixelAspectRatio.Denominator = 1;
    _videoSourceDescriptor.EncodingProperties.FrameRate.Numerator = c_frNumerator;
    _videoSourceDescriptor.EncodingProperties.FrameRate.Denominator = c_frDenominator;
    _videoSourceDescriptor.EncodingProperties.Bitrate = (uint)((c_width * c_height * 4 * 8 * (ulong)c_frDenominator) / (ulong)c_frNumerator);
    _frameDurationTicks = (uint)(10000000 * (ulong)c_frDenominator / (ulong)c_frNumerator);
    _frameSizeBytes = c_width * c_height * 4;
    _mss = new MediaStreamSource(_videoSourceDescriptor);
    _mss.BufferTime = TimeSpan.FromTicks(_frameDurationTicks);
    _mss.Duration = TimeSpan.FromTicks( _frameDurationTicks * c_frames );
    _mss.Starting += _mss_Starting;
    _mss.Paused += _mss_Paused;
    _mss.SampleRequested += _mss_SampleRequested;
    MediaEncodingProfile outputProfile = MediaEncodingProfile.CreateMp4(VideoEncodingQuality.Ntsc);
    outputProfile.Audio = null;
    return await _transcoder.PrepareMediaStreamSourceTranscodeAsync(_mss, output.AsRandomAccessStream(), outputProfile);
    void _mss_Paused(MediaStreamSource sender, object args)
    throw new NotImplementedException();
    void _mss_Starting(MediaStreamSource sender, MediaStreamSourceStartingEventArgs args)
    args.Request.SetActualStartPosition(new TimeSpan(0));
    /// <summary>
    /// This is derived from the sample in "Windows 8.1 Apps with Xaml and C# Unleashed"
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="args"></param>
    void _mss_SampleRequested(MediaStreamSource sender, MediaStreamSourceSampleRequestedEventArgs args)
    if (_frameCurrent == c_frames) return;
    var deferral = args.Request.GetDeferral();
    byte[] frameBuffer;
    try
    frameBuffer = new byte[_frameSizeBytes];
    this._random.NextBytes(frameBuffer);
    catch
    throw new Exception("Sample source ran out of RAM");
    args.Request.Sample = MediaStreamSample.CreateFromBuffer(frameBuffer.AsBuffer(), TimeSpan.FromTicks(_transcodePositionTicks));
    args.Request.Sample.Duration = TimeSpan.FromTicks(_frameDurationTicks);
    args.Request.Sample.KeyFrame = true;
    _transcodePositionTicks += _frameDurationTicks;
    _frameCurrent++;
    deferral.Complete();
    Again, I can't see any reason why this shouldn't work. You'll note it mirrors pretty closely the sample in the Windows 8.1 Apps With Xaml Unleashed book (Chapter 14). The difference is I'm feeding the samples to a transcoder rather than a MediaElement (which,
    again should be no issue).
    Thanks again for any suggestions!
    Peter

  • Mega 180 CPU and memory

    Hi,
    I am just beginning to assemble a MEGA 180, and I'd need some help regarding the components.
    1) I will NOT use on-board video, so using 400 MHz RAM modules will be fine. Am I right? Do I have to change any jumper settings or the default BIOS settings because of that?
    2) Can I use a 3200+ CPU with 333 MHz without any problems? The official MSI info is that 3000+ is the maximum, but there were some references that 3200+ also can be used, if it is the 333 MHz version. Is it right? Did MSI "officially" admit this?
    3) Unfortunately, 333 MHz version of 3200+ is very difficult to find, most retailers have only the 400 MHz version. What should I do to make my system work with this CPU? Need some jumper setting change, and some BISO  mods? What to do exactly? I'm not an experienced modder by far, so a detailed guide would be much appreciated.
    Thanks in advance for your help!
    Coix

    as far as i'm aware, the nforce2 chipset used in the mega 180 mobo only supports up to 333mhz FSB
    yes, an XP3200+ would work but only if it was the FSB333 version, if you can't get hold of one then an XP3000+ would be just as good, there's only a couple of hundred mhz difference in speed anyway, which you wouldn't notice
    and i would suggest sticking with DDR333 (PC2700) memory too, there's no point having faster memory if it unstables things, again the speed difference isn't visibly noticeable, make sure you buy two sticks of the same type and brand and run as dual channel for best performance - i recommend crucial, samsung or kingston, all have worked fine in msi boards i have used before

  • MEGA 180 Memory High or Low Density

    Hello,
    Does anyone know what memory should be used in the Mega 180?
    I have just brought a
    '1GB PC2700 RAM 1 GB DDR 333 PC 2700 DIMM MEMORY 184PIN High Density'
    module but it does not work, the supplier says it should be
    '1GB PC2700 RAM 1 GB DDR 333 PC 2700 DIMM MEMORY 184PIN Low Density'
    I can not find anywhere that says it needs to be Low density I have sent a email to MSI, but no reply, does anyone know??

    This is the question I didn't ask 
    Seems I can upgrade to Low Density, so lucky and still a good price, thanks again
    Quote from https://forum-en.msi.com/index.php?topic=76954.0
    I'm thinking of buying some of this 1gb '128x4' high density RAM thats really cheap on Ebay...'
    Do a search of this forum for 128x4, and try and find a post where someone has successfully got this type of RAM working...   if you can't be bothered searching, the answer would appear to be no. better to not waste your time and get some proper 128x64 if you want 1gb sticks

  • 3.6.7 Lag, Delay, Memory Leak Checked But Not Fixed?

    Well, open a tab, try to open another tab, about 20 seconds of appearing frozen passed.
    Okay let's try clicking the first tab again, oh well, another 20 seconds frozen with cursor not even usable.
    Okay let's try clicking the url bar, oops, another 20 seconds of delay, and the program is up to 180 megs of memory, that spikes down to 150, then builds again, apparently a new routine is added to "clear" the memory every so often, however, THE MEMORY LEAK ITSELF REMAINS UNTOUCHED.
    Maybe Firefox has become so disgustingly bloated with worthless and useless "innovations" that stroke the egos of its developers that, finally, the program is worthless for daily use.
    Second Life is a program that's been around for a very long time, and just open firefox, then Second Life. First, you log in to second life wearing the image of the webpage you have open in Firefox. Then you notice that Second Life is lagging endlessly, sometimes with 5 second delays trying to select anything. Close Firefox, and Second Life performs properly. Amazing isn't it?
    Memory issue is THE MOST IMPORTANT FIRFOX ISSUE but apparently no one cares, too busy appreciating themselves for some part of the program that was their idea I guess.
    Who cares if 3.5 Firefox is the first to have video without a plug in, if, the program is memory leaking like the BP well was leaking oil??
    But, as one can see with a memory monitoring program, Firefox now, finally after almost 20 revisions, has a "fix," to lower the amount of memory along some time-line that seems to keep it from accumulating to 500 megs in a matter of minutes, but, WITHOUT ACTUALLY FIXING THE CAUSE OF THE MEMORY LEAK.
    I wonder if these volunteers for Firefox are unemployed, and that's why they have time to work on Firefox, their lack of competence the reason they are unemployed, long before this recession.
    FIX THE MEMORY LEAK THAT STARTED WITH 3.5 ALREADY! PUT EVERYONE ON THAT INSTEAD OF ANYTHING ELSE!
    P.S. My extensions have nothing to do with Firefox's lack luster performance. The issues have existed with or without them installed. Reality: Firefox programmers are busy with head inserted in hindquarters, feeling good about themselves for volunteering, irrespective of coding pure junk. Quality and doing what is right have apparently been thrown out the door, and the message, "a free internet means you get worthless products" the message of Mozilla.org.
    == This happened ==
    Every time Firefox opened
    == version 3.5

    same basic idea- ctrl-shift-del (clear everything) and it went from taking >700megs on startup (PC XP,all addins disabled) to ~60megs.
    Better wtf is what was stored in that 650+ megs?

  • Memory Leaks   Unresponsive Mouse

    2009 8 core Mac Pro w/ 24 GB of RAM, ATI Radeon 4870, and a SeriTek PCIe eSATA card (card only has drives connected when running a manual drive clone).  When running Toast 10 or Parallels 9, my RAM will fill up (I use a program called Menu Meters to monitor stuff).  This machine worked just fine under OS 10.9 and earlier - no issues like this at all.  ClamXAV will also completely fill the RAM up (the meter will be full green, instead of part green, then mostly grey when Toast or Parallels fills it up).  I have to use Terminal to purge it so that the machine is usable.
    The other thing that happens is that sometimes when the computer wakes up or I am in the middle of doing something, the mouse will still move, but the dock will not pop open and the left button the mouse doesn't respond.  The right button will open the right click menu, but will not respond normally at all.  I have tried a different Magic Mouse, but the problem is the same.
    I thought that it may be a problem with the factory RAM and the Kingston RAM not playing nicely together.  So I ran it with just the factory 8 GB and then ran it with the Kingston 16 GB - the problem persists no matter which RAM is installed.  All of the RAM also passes the memory tests in Rember and TechTool.
    So, I need to find out if someone thinks that maybe the bluetooth module may be going bad causing the mouse issues.  I also need to find out what is causing the memory leaks.  I followed the steps that someone gave on this site to boot into safe mode, repair permissions, reset PRAM, then reset SMC (or the other way around - I did it like they said to).  It did nothing to fix the problem.
    I need some guidance here.  As I stated early on, the machine worked perfectly with OS 10.9.  I have WAY too much software that I use, so doing a completely fresh install is out of the question - I don't have time to reload everything.  This problem is annoying and I know that I am not the only one having these issues.  Any input will be greatly appreciated.  Thanks in advance.

    Here is the EtreCheck report:
    Problem description:
    Memory leaks when using Toast 10 or Parallels 9.  Mouse also become unresponsive (it will move, but left button does not work and dock will not pop open - mouse problem happens independent of the RAM being filled up - different mouse was tried with same result).
    EtreCheck version: 2.1.5 (108)
    Report generated January 9, 2015 at 9:20:59 PM MST
    Click the [Support] links for help with non-Apple products.
    Click the [Details] links for more information about that line.
    Click the [Adware] links for help removing adware.
    Hardware Information: ℹ️
        Mac Pro (Early 2009) (Verified)
        Mac Pro - model: MacPro4,1
        2 2.26 GHz Quad-Core Intel Xeon CPU: 8-core
        24 GB RAM Upgradeable
            DIMM 1
                4 GB DDR3 ECC 1066 MHz ok
            DIMM 2
                4 GB DDR3 ECC 1066 MHz ok
            DIMM 3
                2 GB DDR3 ECC 1066 MHz ok
            DIMM 4
                2 GB DDR3 ECC 1066 MHz ok
            DIMM 5
                4 GB DDR3 ECC 1066 MHz ok
            DIMM 6
                4 GB DDR3 ECC 1066 MHz ok
            DIMM 7
                2 GB DDR3 ECC 1066 MHz ok
            DIMM 8
                2 GB DDR3 ECC 1066 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en2: 802.11 a/b/g/n
    Video Information: ℹ️
        ATI Radeon HD 4870 - VRAM: 512 MB
            AL2216W 1680 x 1050 @ 60 Hz
    System Software: ℹ️
        OS X 10.10.1 (14B25) - Uptime: 2:4:35
    Disk Information: ℹ️
        HL-DT-ST BD-RE  WH12LS39 
        HL-DT-ST DVDRAM GH24NS90 
        SAMSUNG HD103SJ disk1 : (1 TB)
            EFI (disk1s1) <not mounted> : 210 MB
            OS 10.10.1 (disk1s2) / : 999.35 GB (410.30 GB free)
            Recovery HD (disk1s3) <not mounted>  [Recovery]: 650 MB
        SAMSUNG HD103SJ disk2 : (1 TB)
            EFI (disk2s1) <not mounted> : 210 MB
            Extra Storage (disk2s2) /Volumes/Extra Storage : 999.86 GB (554.20 GB free)
        SAMSUNG HD103SJ disk3 : (1 TB)
            EFI (disk3s1) <not mounted> : 210 MB
            Extra Storage 2 - Scratch (disk3s2) /Volumes/Extra Storage 2 - Scratch : 999.86 GB (39.54 GB free)
        WDC WD5001AALS-00LWTA0 disk0 : (500.11 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            BOOTCAMP (disk0s2) /Volumes/BOOTCAMP : 499.90 GB (275.71 GB free)
    USB Information: ℹ️
        Shuttle Technology Inc. E-USB Bridge
        Sony C6606
        Apple, Inc. Keyboard Hub
            Apple Inc. Apple Keyboard
        Apple Inc. BRCM2046 Hub
            Apple Inc. Bluetooth USB Host Controller
    Firewire Information: ℹ️
        Apple Computer, Inc. iSight 200mbit - 400mbit max
    Gatekeeper: ℹ️
        Anywhere
    Kernel Extensions: ℹ️
            /Applications/Hotspot Shield.app
        [not loaded]    com.anchorfree.tun (1.0) [Support]
            /Applications/Parallels Desktop.app
        [not loaded]    com.parallels.kext.hidhook (9.0 24251.1052177) [Support]
        [not loaded]    com.parallels.kext.hypervisor (9.0 24251.1052177) [Support]
        [not loaded]    com.parallels.kext.netbridge (9.0 24251.1052177) [Support]
        [not loaded]    com.parallels.kext.usbconnect (9.0 24251.1052177) [Support]
        [not loaded]    com.parallels.kext.vnic (9.0 24251.1052177) [Support]
            /Applications/TechTool Deluxe.app
        [not loaded]    com.micromat.iokit.ttpatadriver (5.0.0) [Support]
        [not loaded]    com.micromat.iokit.ttpfwdriver (5.0.0) [Support]
            /Applications/TechTool Protogo/Protogo Applications/TechTool Pro 7.app
        [not loaded]    com.micromat.driver.spdKernel (1 - SDK 10.8) [Support]
        [not loaded]    com.micromat.driver.spdKernel-10-8 (1 - SDK 10.8) [Support]
            /Applications/Temperature Monitor 4.94/Temperature Monitor 4.94.app
        [not loaded]    com.bresink.driver.BRESINKx86Monitoring (8.0) [Support]
            /Applications/Toast 11 Titanium/Spin Doctor.app
        [not loaded]    com.hzsystems.terminus.driver (4) [Support]
            /Applications/Toast 7 Titanium/Toast Titanium.app
        [not loaded]    com.roxio.TDIXController (1.6) [Support]
            /Library/Extensions
        [loaded]    at.obdev.nke.LittleSnitch (4216 - SDK 10.8) [Support]
            /System/Library/Extensions
        [loaded]    com.SiliconImage.driver.Si3132 (1.2.5) [Support]
        [not loaded]    com.devguru.driver.SamsungComposite (1.2.63 - SDK 10.6) [Support]
        [not loaded]    com.microsoft.driver.MicrosoftMouse (8.2) [Support]
        [not loaded]    com.roxio.BluRaySupport (1.1.6) [Support]
            /System/Library/Extensions/MicrosoftMouse.kext/Contents/PlugIns
        [not loaded]    com.microsoft.driver.MicrosoftMouseBluetooth (8.2) [Support]
        [not loaded]    com.microsoft.driver.MicrosoftMouseUSB (8.2) [Support]
            /System/Library/Extensions/ssuddrv.kext/Contents/PlugIns
        [not loaded]    com.devguru.driver.SamsungACMControl (1.2.63 - SDK 10.6) [Support]
        [not loaded]    com.devguru.driver.SamsungACMData (1.2.63 - SDK 10.6) [Support]
        [not loaded]    com.devguru.driver.SamsungMTP (1.2.63 - SDK 10.5) [Support]
        [not loaded]    com.devguru.driver.SamsungSerial (1.2.63 - SDK 10.6) [Support]
    Startup Items: ℹ️
        HP IO: Path: /Library/StartupItems/HP IO
        SiCoreService: Path: /Library/StartupItems/SiCoreService
        Startup items are obsolete in OS X Yosemite
    Launch Agents: ℹ️
        [running]    at.obdev.LittleSnitchUIAgent.plist [Support]
        [loaded]    com.coupons.coupond.plist [Support]
        [running]    com.micromat.TechToolProAgent.plist [Support]
        [loaded]    com.oracle.java.Java-Updater.plist [Support]
        [invalid?]    com.parallels.mobile.prl_deskctl_agent.launchagent.plist [Support]
        [invalid?]    com.parallels.mobile.startgui.launchagent.plist [Support]
        [not loaded]    com.teamviewer.teamviewer.plist [Support]
        [not loaded]    com.teamviewer.teamviewer_desktop.plist [Support]
    Launch Daemons: ℹ️
        [running]    at.obdev.littlesnitchd.plist [Support]
        [loaded]    com.adobe.fpsaud.plist [Support]
        [loaded]    com.bombich.ccc.plist [Support]
        [loaded]    com.hp.lightscribe.plist [Support]
        [running]    com.micromat.TechToolProDaemon.plist [Support]
        [loaded]    com.microsoft.office.licensing.helper.plist [Support]
        [loaded]    com.oracle.java.Helper-Tool.plist [Support]
        [invalid?]    com.parallels.mobile.dispatcher.launchdaemon.plist [Support]
        [failed]    com.parallels.mobile.kextloader.launchdaemon.plist [Support] [Details]
        [not loaded]    com.teamviewer.teamviewer_service.plist [Support]
    User Launch Agents: ℹ️
        [loaded]    com.facebook.videochat.[redacted].plist [Support]
        [loaded]    com.google.keystone.agent.plist [Support]
        [running]    com.nchsoftware.expressinvoice.agent.plist [Support]
        [loaded]    uk.co.markallan.clamxav.clamscan.plist [Support]
        [loaded]    uk.co.markallan.clamxav.freshclam.plist [Support]
    User Login Items: ℹ️
        iTunesHelper    Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
        SMARTReporter    Application (/Applications/SMARTReporter/SMARTReporter.app)
        BetterSnapTool    Application (/Applications/BetterSnapTool.app)
        smcFanControl    Application (/Applications/smcfancontrol_2_2_2/smcFanControl.app)
        Android File Transfer Agent    Application (/Users/[redacted]/Library/Application Support/Google/Android File Transfer/Android File Transfer Agent.app)
    Internet Plug-ins: ℹ️
        JavaAppletPlugin: Version: Java 8 Update 25 Check version
        FlashPlayer-10.6: Version: 16.0.0.235 - SDK 10.6 [Support]
        Default Browser: Version: 600 - SDK 10.10
        AdobePDFViewerNPAPI: Version: 11.0.06 - SDK 10.6 [Support]
        CouponPrinter-FireFox_v2: Version: 5.0.3 - SDK 10.6 [Support]
        AdobePDFViewer: Version: 11.0.06 - SDK 10.6 [Support]
        Flash Player: Version: 16.0.0.235 - SDK 10.6 [Support]
        QuickTime Plugin: Version: 7.7.3
        SharePointBrowserPlugin: Version: 14.4.6 - SDK 10.6 [Support]
        iPhotoPhotocast: Version: 7.0 - SDK 10.8
    Safari Extensions: ℹ️
        AdBlock [Installed]
        F.B. Purity - Cleans Up Facebook [Installed]
        OpenIE [Installed]
    3rd Party Preference Panes: ℹ️
        Déjà Vu  [Support]
        Flash Player  [Support]
        FUSE for OS X (OSXFUSE)  [Support]
        Java  [Support]
        MacFUSE  [Support]
        MenuMeters  [Support]
        Microsoft Mouse  [Support]
        MouseLocator  [Support]
        NTFS-3G  [Support]
        TechTool Protection  [Support]
    Time Machine: ℹ️
        Time Machine not configured!
    Top Processes by CPU: ℹ️
            48%    plugin-container
            39%    fontd
             6%    firefox
             5%    WindowServer
             4%    bluetoothaudiod
    Top Processes by Memory: ℹ️
        928 MB    firefox
        412 MB    plugin-container
        258 MB    mds_stores
        180 MB    iTunes
        129 MB    Finder
    Virtual Memory Information: ℹ️
        19.38 GB    Free RAM
        3.11 GB    Active RAM
        1.88 GB    Inactive RAM
        1.38 GB    Wired RAM
        2.40 GB    Page-ins
        0 B    Page-outs
    Diagnostics Information: ℹ️
        Jan 9, 2015, 07:16:57 PM    Self test - passed
        Jan 8, 2015, 11:37:48 AM    /Library/Logs/DiagnosticReports/ClamXav_2015-01-08-113748_[redacted].cpu_resour ce.diag [Details]
        Jan 8, 2015, 11:21:46 AM    /Users/[redacted]/Library/Logs/DiagnosticReports/Preview_2015-01-08-112146_[red acted].crash

  • Things to Know Before Building Your Mega 180

    Some people have asked me for a list of tips so here is my attempt---I'll ask Wonk to sticky it if it turns out OK....
    Feel free to PM me with more tips---I'll add as necessary....
    TIP SHEET FOR THE MEGA 180:
    So you bought that new Mega 180 and the docs leave a lot to be desired......Don't panic!!  Take a look at this tip sheet.  Should save you a lot of hours!
    RAM AND PROCESSOR:
    Several things here.....If you are going to use onboard video----you should NOT use higher RAM than PC 2700----waste of money to buy higher as the Nforce2 18G "Crush" was only designed to run no higher than with DDR333 RAM (PC2700).  Nvidia warns against it on their site.  I have personally experienced a LOT of problems when you try to run the onboard at DDR 400 (PC3200)----trashed Bios in most cases.  Also---the 18G and to some extent---"Dual Channel" is picky about memory----try to get a matched pair of DIMMS----and if you REALLY want to be on the safe side----go to Nvidias site and look up the page that lists known, compatable memory with the NForce2 chipsetNforce2 compatable memory.  I use A-Data 512 sticks---but they are hard to find.
    If you are going to use a Vidcard---then higher memory is just fine----but if you are NOT planning on overclocking-----there is really NO need for higher than PC2700 as the default bus for Barton 2800+ and below is FSB 166 (DDR333---PC 2700).
    Alyways run your RAM (Synch) 100%---do not play with dividers if you are using the onboard video.  If you have no clue what I just said----you are fine as the defaults will take care of this----this last was for overclockers.
    Processor----I like the cost of the Barton 2800+ right now----fast, cheap and even using the onboard and no overclocking----you have a fast machine that can do anything.  The 2800+ also leaves the door open for a slight overclock (I have not tried this yet) without too much stress on anything.
    LCD PANEL:
    Do Not----I say again----Do Not use the "welcome.exe" program----or ANY other program on ANY disk or the MSI website to do ANYTHING to your front panel.  That program is for the Mega 651 model and WILL TRASH YOUR LCD.  The LCD panel works just fine----it doesn't need any updating.
    If this advice is to late, the firmware fix is in here:
    https://forum-en.msi.com/index.php?threadid=46355&sid=
    Do download and install the latest version of PC Alert MSI Mega 180 Downloads----works great with the front LCD panel and displays PC info nicely.
    Use the EQ mode buttons while playing in the HiFi mode----changes the sound a lot and also the display changes------COOL!
    OPTICAL DRIVE:
    Use an MSI optical drive----basically anything from MSI will work fine---some other drives are reported to work fine like a NEC 2500A----but if you use an MSI drive----you can't go wrong.  You might want to put the drive in another machine with a floppy first----and download and update that drive to the latest firmware (most will require a floppy to do that and the Mega 180 has none.)
    CABLE MANAGEMENT:
    Buy a dollar pack of cable ties and go to work-----make sure ALL cables are away from the front of the intake fan for the CPU----you want a very clear path to the cooler.  Less clutter---better airflow.  Better airflow----lower temps.
    CPU INSTALL:
    Get rid of the MSI thermal grease with some Goof Off or acetone-----and get some good Arctic Silver 3, AS5 or AS Ceramique.  Clean both the chip top and the bottom of the HS with denatured alcohol before applying the thermal grease.  You might also want to lapp the bottom of the HS which is not very well done----but I found it not necessary.  The HS/Fan unit is very easy to install----just rotate your screw down points as perscribed by the sticker on the cooler----don't tighten one screw all the way down----then go to the next.
    DRIVERS:
    I found the drivers on the install disk to be non-functional---- get the latest drivers from the MSI website (you can use Live Update for this) or go to http://www.nforcershq.com and get the latest Nforce2 Driver Remix from Morpheus1 or Mwarhead.
    DO NOT use the Nvidia SW IDE driver (say "No" when it asks you in the driver install)  Only use the ITB (In The Box) IDE driver----it's the default driver.  Your Optical device will probably not function correctly (eject, etc) with the Nvidia SW IDE driver.
    Nforce2 SoundStorm Drivers are a tricky topic----there are TONS of versions out there.... I've had the best luck so far with Drivers 4.31 (Off Microsoft Windows Updates---it was a Driver Update) and Audio Control Panel 4.31.  Nvidia has a driver update package now JUST for audio-----posted Here
    If you are having problems with Media Center III crashing----it seems to be a conflict between the SoundStorm Drivers and Media Center III,  Uninstall your Nvidia audio devices in the device manager (Three of them----there is one hidden---so go to view and "show hidden devices")  then reboot and let Windows rerecognize your devices and reload drivers.  This will solve most problems until Media Center II has another bad crash----in which case---you may have to do this procedure over again.  You can tell if it's really hosed up because the radio sound will come on automatically at boot----or you will have lost the SoundStorm Control Panel Icon in the SysTray.  I'm working on different versions of SoundStorm to see which works best---will update if I find anything new.  (Update)----4.31 seems to be the best but I still can'ttotally eliminate the crashing in Media Center III.
    Once you get your Lan device up and running (or your modem) Go to Windows Update and make sure you are completly updated with all latest window updates---If using WinXP-----you need to be at WinXP ServPack 1a when you are done.
    Use Windows Cleanup and Defrag when you are done----ESPECIALLY cleanup---to get rid of any left over temp files in the Mega----To get the BEST and most optimised defrag----run windows defrag at least three times in a row----maybe more----it will REALLY optimise the drive.
    TV CARD:
    The main TV Card designed for the Mega 180 is the MSI 8606-40 Mega TV Card----be careful to get it vice the other version of the MSI 8606 which is the MSI 8606-10 TV@anywhere Master.
    The Mega TV Card does not include a Radio while the 8606-10 DOES include a radio.  Since your Mega 180 already has a radio----you absolutely don't need or want the 8606-10 TV@anywhere Master.
    Do NOT use any drivers or software you receive with the Mega TV Card MSI 8606-40----just set the disks aside.  You will ONLY uses the drivers off the Mega 180 Install Disk.
    The Mega TV Card MUST be installed before the menu item for "Install TV Tuner Drivers" becomes visible on the Mega 180 install disk.
    Make sure your TV Card is hooked into the line called "Remote Control" within the Mega 180 itself----there is a small 3 inch connecting wire in the TV card box.
    The TV and Radio function well with the remote----but you must have MSI Media Center III installed.  I could not get the TV or the Radio to work without Media Center III.
    Upon initial setup of the TV within Media Center III---you may have to switch the source between cable and antenna to get the initial channels to auto scan.  Once done auto scanning---switch back to cable as source (assuming you have cable).
    Using the remote to force the TV screen to full screen:  When you use the up/down arrows on the remote----watch the menu items on the screen----the various menu item buttons will highlight as you hit the arrows.
    Once you have highlighted the little arrow button on the lower right of the screen----just below the TV display (it will turn green)----hit the ENTER key
    It goes to widescreen----hit the ENTER key again------it goes to fullscreen
    BTW, the remote works fine-----the trick is you HAVE to have Media Center III installed and available to be called for it to control the TV Card----Radio Etc.  It will start up normally when you push the TV button on the remote.
    BIOS SETTINGS:
    The defaults will mostly work.  One thing----to get BEST performance out of the NForce 2 Onboard video----set AGP to 128 and Set Frame Buffer to 128----I had crashes with almost any other video setting.  I'm still playing with PCI clock, voltages, and some other settings to get better stability-----will let you know.....
    6 CHANNEL SOUND
    Use all three ports in the back of the Mega 180 and then configure it using the SoundStorm Control Panel----Use the "Speaker Setup Wizard".  Check and adjust using the "Test Tone" button.  I'm using an inexpensive set of Analog Altec Lansing 5.1s----the sound is excellent.
    That's all for now----tell me what else you've found and I'll post.
    John

    My MSI MEGA 180 has a strange display on the monitor.
    I opened the boxed removed all items.
    Installed the CPU (supported on the CPU compatability list for the MSI MEGA 180), installed the heatsink & fan.
    Installed the HD drive.
    Installed the MSI DVD+/-RW
    Installed 1 DIMM module of DDR RAM PC2700 333MHZ 1GB
    Pushed the Power button for the PC and the desplay is corrupted.
    I tried the 4 possible configurations for Jumpers 7 and 8 to alter the FSB speed with no luck.
    I also tried the 4 different J7 and J8 configurations without having the HDD and DVD-RW drives connected - same result.
    I also tried the 4 different J7 and J8 configurations with the Secondary VGA output connected to my monitor.
    I also tried the 4 different J7 and J8 configurations with the S-Video output connected to my TV and no signal at all.
    Both my monitor and HDD work fine with my other PC.
    I noticed the jumper pins are not numbered - made the configuration job a bit more tedious.
    Please note the LCD screen works correctly, however the redio tuner in HiFi mode doesn't pick up any local stations.
    As I am a Software Test Engineer, I am 100% confident I have checked all possible configurations including clearing the CMOS, but the system simply will not display to the VDU. The POST should at least be visible when Power is turned on for the PC mode.
    NOTE: I will update the RAM Brand as soon as I find out the title from the supplier, but I believe it is OEM.
    NOTE II: this is the URL to the CPU used: http://www.excaliberpc.com/product_info.php?products_id=1798
    PLeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeesssss ssssssssssssssssssssssseeeeeeeeeeeeeeee eee  help ease my pain!!

  • Memory Leak in NonPaged pool --- Tag = Cont

    Hi All,
            We are facing memory leak issue on some of our some servers in similar fashion. Leak in Nonpaged pool and as per Poolmon - Tag CONT is consuming most memory. As per Pooltag,
    Cont - <unknown>    - Contiguous physical memory allocations for device drivers
    Systems State is shown below:
    Zoom IN to view ScreenShot clearly
    Now i tried to collect details of allocations using WinDBG (!poolfind Cont) tagged with Cont string, but WINDBG gets stuck when it trying to collect data from NonPaged pool, as shown below:
    Zoom IN to view ScreenShot clearly
    Kernel Memory Dump from one of System can be found
    HERE (315 Megs)!
    Any help here ?
    OS ... VirTuaLiZaTioN ... MaxiMuS ... Fair, Good, Better, Best

    Hi,
    I would envolve another engineer to this topic.
    Thanks for your understanding.
    Roger Lu
    TechNet Community Support

  • Tv-out stoped working (mega 180)

    I have searched the forum for tv-out problem but did not find the same problem I have.
    9600 pro fb
    Mega 180
    2600 barton
    winxp xp2
    The tv-out was working fine, but sudenly it was dead.
    This happend at the same time the msi radio started after I turned on my pc, I managed to make it stop, but then the radio came on when I turned the tv mode on. But i fixed that problem to.
    But the tv out wont work. But the tv does flimmer a bit when i try to connect, so there is contact. Acording to windows, a cable is not conected, but I have tried with to different cables and it worked before.
    Also, the startup screen wont work on tv, not even with the monitor cable unpluged.
    I use composite, no s-video on my tv.
    I tried to change the gfx card in bios from agp to pci, as it was original.
    This happend after I tried to make my other computer work, so I have changed the cpu and memory a bit, to see what is wrong.
    But I gues there is no cable needed for tv-out that I could have taken out?
    When I get home I wil try new drivers.
    I gues I also could try to "turn back time" Dont know the english word for it.
    In norwegian, "systemgjennomretting"
    Does anyone have other sugestions?

    The TV out has to be connected on startup. What to do in case you have disconnected is explained in the MEGA pdf manual you have on your CD-ROM.  It comes down to setting NVidia Dualview settings again for your TV out, because it is set back to single monitor again after disconnecting it.

  • Memory leak with large files and this code?

    Okay, so the following code will not complete. 
    Basically what I am doing is opening 5 files and generating a PDF document from the already opened Report file, which is renewed prior to the PDF export operation.  I left out the general stuff at the start.  I am also writing out the location of the PDF to a HTML file, which acts as an index of the exported PDF documents.
    I believe it is due to some sort of memory leak issue, but it could be something else or just my code.  I have not stepped through this code, but for small file sizes of say less than 40 megs per file, it works fine.  For file sizes along these lines:
    File 1 = 230 megs
    File 2,3 = 26 megs
    File 4,5 = 8 megs
    it will belch erors at the end of about the 5th iteration through the For loop.  It will complete the 5th iteration however.  Here are the errors generated:
    84   10/26/2006 9:35:15 AM Error:
    85   File handle for "W:\TR-2051-2100\TR-2060 - BAS Arctic PTC\Vnom\00-99\VnomCombined00-99\p1.TDM" file is invalid.
         (Error no. 6)
    86   10/26/2006 9:40:19 AM Error:
    87   File handle for "W:\TR-2051-2100\TR-2060 - BAS Arctic PTC\Vnom\00-99\VnomCombined00-99\p2.TDM" file is invalid.
         (Error no. 6)
    88   10/26/2006 9:45:17 AM Error:
    89   File handle for "W:\TR-2051-2100\TR-2060 - BAS Arctic PTC\Vnom\00-99\VnomCombined00-99\p3.TDM" file is invalid.
         (Error no. 6)
    90   10/26/2006 9:53:07 AM Error:
    91   File handle for "W:\TR-2051-2100\TR-2060 - BAS Arctic PTC\Vnom\00-99\VnomCombined00-99\p8.TDM" file is invalid.
         (Error no. 6)
    92   10/26/2006 10:00:39 AM Error:
    93   File handle for "W:\TR-2051-2100\TR-2060 - BAS Arctic PTC\Vnom\00-99\VnomCombined00-99\p9.TDM" file is invalid.
         (Error no. 6)
    94   10/26/2006 10:01:01 AM Error:Error occured during file creation.
    95   10/26/2006 10:01:01 AM Error:
         Error in <GM315 Pa...sing.VBS> (Line: 185, Column: 5):
         File handle for "W:\TR-2051-2100\TR-2060 - BAS Arctic PTC\Vnom\00-99\VnomCombined00-99\p1.TDM" file is invalid.
         (Error no. 6)
    For files of a larger size, like:
    File 1 = 7500 megs
    File 2,3 = 80 megs
    File 4,5 = 25 megs
    This occurs after about 2-3 iterations through the loop.
    see attachment for code.
    Attachments:
    ForLoopCode.txt ‏11 KB

    i am having a similar error randomly inserted in the log 
    25   10/1/2009 1:58:36 PM Error:
    26   File handle for "C:\Program Files\Summitek\Spartan\data\tdm\S Parameter Test $SSN$ 49.TDMS" file is invalid.
         (Error no. 6)
    and
    31   10/1/2009 1:58:37 PM Error:
    32   File handle for "C:\Program Files\Summitek\Spartan\www\temp\Test_$SSN$ 49_602313172.pdf" file is invalid.
         (Error no. 6)
    it doesn't seem to be causing an immediate problem, but i have had several unexplained Diadem lockups.
    they occur in log after i use CALL DATAFILELOADSEL and CALL PICpdfexport
    help? what does this mean
    jim

  • Memory Leak With Spatial queries

    We are using 8.1.6 on NT (4.0) for spatial data queries. We are facing memory leak problems. At the starting our job will run very fast and after some time it will start slipping. I'm monitoring PGA size from v$sessionstat/v$sysstat and it is regularly increasing. Same is the case for memory on NT machine when I'm monitoring thru performance monitor. I have already applied the spatial patch available for 8.1.6 but no improvement.
    Please let me know If there is any workaround. When I'm submitting my job in parts and shutdown the database in between then It is releasing all the memory and It is working fine. Without shutting the database it is not relasing the memory even though I stop my spatial data batch job.
    null

    Hi,
    Thanks for your responses.
    This is the query:
    SELECT a.geo_id, mdsys.sdo_geom.sdo_length(
    mdsys.sdo_cs.transform(
    mdsys.sdo_geometry(2002, 8307, null,
    mdsys.sdo_elem_info_array(1,2,1),
    mdsys.sdo_ordinate_array(' &#0124; &#0124;
    longi &#0124; &#0124;
    ', ' &#0124; &#0124;
    lati &#0124; &#0124;
    a.geo_geometry.sdo_point.x,
    a.geo_geometry.sdo_point.y )),
    mdsys.sdo_dim_array(mdsys.sdo_dim_element(' &#0124; &#0124;
    '''' &#0124; &#0124;
    'X' &#0124; &#0124;
    '''' &#0124; &#0124;
    ',-180,180, .00000005),
    mdsys.sdo_dim_element(' &#0124; &#0124;
    '''' &#0124; &#0124;
    'Y' &#0124; &#0124;
    '''' &#0124; &#0124;
    ',-90,90, .00000005)), 41004),
    .00000005) * 6.213712e-04 distance_in_miles
    FROM ' &#0124; &#0124;
    t_name &#0124; &#0124;
    ' a
    WHERE mdsys.sdo_nn(a.geo_geometry,
    mdsys.sdo_geometry(1, 8307,
    mdsys.sdo_point_type(' &#0124; &#0124;
    longi &#0124; &#0124;
    ', ' &#0124; &#0124;
    lati &#0124; &#0124;
    ', null),
    null, null),' &#0124; &#0124;
    '''' &#0124; &#0124;
    'SDO_NUM_RES=5' &#0124; &#0124;
    '''' &#0124; &#0124;
    ') = ' &#0124; &#0124;
    '''' &#0124; &#0124;
    'TRUE' &#0124; &#0124;
    '''' &#0124; &#0124;
    AND a.geo_id ' &#0124; &#0124;
    filter &#0124; &#0124;
    ORDER BY 2;
    Here we are passing the tname and filter dynamically based on certain conditions and the memory leak is almost 100K to 200K per query.
    First I tried to closing the session only but that didn't work. Database shutdown is only able to release the memory. I'm monitoring v$sysstat/v$sesstat and size of oracle.exe in NT performance monitor. Please let me know If something else need to be monitor.
    Thanks.
    Sandeep
    null

  • Mega 180 card reader / sony duo 2gb card

    Hi, can any one help?  I am unable to get my Sony 2gb duo cad recognised by the mega 180 card reader, I have tried the live update option and reinstalled the drivers but to no avail, can any one point me in the ricght direction.
    With a laptop I have I had to update the driver to get the card reader to recognise the lager size memory card. but have seached and searched for one for this card reader but no luck so far can anyone help please?

    Hi
    Thanks for this, I have been using a memory stick Duo adaptor, so in appearace it looks and acts like a conventional memory stick,  in my other equipment
    I have also tried using a 512mb Duo card and that also will not recognise,  I have a SD card that goes into the same front slot and the 180 reads that one OK.
    It is frustrating as the main reason for purchasing the 180 was to use the card reader to exchange info.
    Is it possible that another reader will fit behind the panel?
    Thank-you

  • Memory leak in DriverManager.registerDriver()

    I am finding that when a driver is registered with the java.sql.DriverManager multiple times it runs the JVM out of memory (crashing it). I tested using the last three versions of the JDBC (thin) drivers through 8.1.7, using both Sun JDK 1.2.2 and 1.3 (final) on Linux. It takes only a 1-2 minutes to use all the memory. The following code should be sufficient to reproduce the issue:
    import java.sql.*;
    public class ClassLd {
    public static void main(String[] args) {
    try {
    while (1==1) {
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    } catch (Exception e) {
    System.out.println("Error");
    e.printStackTrace();
    This produces the following error:
    Exception in thread "main" java.lang.OutOfMemoryError
    <<no stack trace available>>
    The documentation clearly states that "You register the driver only once in
    your Java application." However, a memory leak is still a nasty bug -- even if that line of documentation was skimmed.
    Thanks,
    slag
    [email protected]

    If you are concerned about registering the same driver multiple times then you should use the DriverManager.deregisterDriver() API to clean up.
    In your program the DriverManager has no choice but to hold on to all of the driver objects that you are creating and registering.

  • Memory leak in Promise S/W?

    We have 2 systems running with a KT4U MB. Both systems use 2 SATA disks in mirror (RAID-0), W2K Pro. Approx. once a week both systems lockup en have te be rebooted. After rebooting the eventlog shows event 2019 (possible memory leak). I've found out that the msgagt.exe service (Promise Message Agent) is the most probable cause of this. I this service is stopped, then the pool nonpaged memory is stable, when the service is running, the pool keeps increasing. The version of msgagt.exe is 3.2.0.2. There should be a newer version on the MSI site, bit this one only contains the Promise driver'.
    Anyone has any suggestions?

    Well off hand with out seeing any code, check that you are not instantiating any object repeatedly...
    (creating new objects over and over and never getting rid of the old ones by still keeping referenced to it)
    something like this...
    public class MemoryEater
       MemoryEater()
          MemoryEater eater = new MemoryEater();
    public void doSomeThing()
       MemoryEater eater = new MemoryEater();
       eater.doSomeThing();
    }now this is a exaggerated example, but it might help you locate your memory leak...
    and memory usage varies depending on application and OS states... 1mb is not much of a rise, but then again overtime it makes a difference... Try other applets and see if you get the same results... I am currently running the same applet, and for a short bit the usage steadily climbed maybe about 2mb overall but then started to level off...
    Running the same applet, I got the initial memory usage increase,
    then a slow steady climb for about another meg and now it fluctuates between 36.5 and 37.5 mb...
    Note: I also have other Internet Explorer windows open, so naturally my overall memory usage is going to be higher...
    If it is still a problem, you can try re-installing the JVM...
    I hope this was helpful...
    - MaxxDmg...
    - ' He who never sleeps... '

Maybe you are looking for