Major memory problem/crash with UIImage

Hi,
Our app needs to render the screen to an UIImage and everytime we do that, the memory utilization of app goes up by about 0.3M [as shown by XCode execution panel, but the Instruments panel shows 3M - see below] eventually causing memory warning and crashing.
The code used is simple - from the example code of Apple:
    UIGraphicsBeginImageContext(self.view.bounds.size);
    [self.view.layer renderInContext:UIGraphicsGetCurrentContext()];
    UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
    UIGraphicsEndImageContext();
I've tried many ways to reclaim this memory, but there is unbounded growth.
We've checked it many times and there are no leaks, etc.
It is not allocated using imageNamed so I understand it is not cached - regardless we even called  [super didReceiveMemoryWarning] to try to flush the cache, but no luck.
In XCode instruments, the allocations show huge nearly 3MB  growth  as below:
Event Type
∆ RefCt
RefCt
Timestamp
Responsible Library
Responsible Caller
0
VM Alloc
02:08.145.871
CoreGraphics
CGDataProviderCreateWithCopyOfData
The LiveBytes increases by 3MB everytime the UIImage is allocated and RELEASED by the app.
Graph
Category
Live Bytes
# Living
# Transient
Overall Bytes
# Overall
Bytes Allocated (Net / Overall)
1
All Heap & Anonymous VM
12.16 MB
11263
3422178
597.30 MB
3433441
<XRRatioObject: 0x7fbca501d950>  %0.02, %0.98
WHY is this NOT RELEASED by iOS? Can someone help - our app is crashing and rendering the screen to an image is a core part of the functionality.
Thanks,
RFS

I am having the same problem, it is leaking all the memory. It works fine on iOS 6, but it is causing me Memory Warnings on iOS 7.
This is my code
CGImageRef imageRef = image.CGImage;
    // System only supports RGB, set explicitly and prevent context error
    // if the downloaded image is not the supported format
    CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
    CGContextRef context = CGBitmapContextCreate(NULL,
            CGImageGetWidth(imageRef),
            CGImageGetHeight(imageRef),
            8,
            // width * 4 will be enough because are in ARGB format, don't read from the image
            CGImageGetWidth(imageRef) * 4,
            colorSpace,
            // kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Little
            // makes system don't need to do extra conversion when displayed.
            kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Little);
    CGColorSpaceRelease(colorSpace);
    if ( ! context) {
        return nil;
    CGRect rect = (CGRect){CGPointZero, CGImageGetWidth(imageRef), CGImageGetHeight(imageRef)};
    CGContextDrawImage(context, rect, imageRef);
    CGImageRef decompressedImageRef = CGBitmapContextCreateImage(context);
    CGContextRelease(context);
    UIImage *decompressedImage = [[UIImage alloc] initWithCGImage:decompressedImageRef];
    CGImageRelease(decompressedImageRef);
    return [decompressedImage autorelease];

Similar Messages

  • How do I determine if the memory problems are with my imac and not the RAM?

    I've heard of some vague problems with intel imacs and their memory slots. I'm about to replace (for the 3rd time) RAM, and think I need to test further to see if the problem is with my imac and not the RAM. Right now I put back in the original 2-512 sticks that came with the imac, and the rember test is only showing 594mb (odd amt!) testing OK. But, in "about my mac" it will show as 1gb.
    Problems I've had with each set of RAM: occasional KP's, excessive spinning beachballs, sudden closing of apps (esp. if I have several apps running), won't fax usually (will hear a fax tone instead of a dial tone at the onset), disappearing documents section under my username.
    I bought this imac refurbed thru the apple store last fall: 2.16 C2D 20" imac
    Any ideas before I have to separate myself from my imac to send it in??

    Hi Toodles
    The pin strips on the new modules maybe a little thicker than your original modules, and it's going to take more force to seat them properly. If the new Memory Specifications are correct I would try them again. Slide them in untill they stop, then push real hard untill you feel them seat into place.
    I've never seen a report about an odd amount of ram shown. If reinstalling the ram modules does not solve your issue, and may be a indication that there is something wrong with one of the slots.
    Dennis
    17" iMac Intel Core Duo - 2GB Ram -   Mac OS X (10.4.10)   - Maxtor 300GB FireWire - Creative Inspire 2.1 - 2G Nano

  • Problem crashing with DynamicLinkManager

    Each time I restart my iMac, I get the error "Dynamic Link Manager crashes". This derives from my Adobe Photoshop Elements Organizer 12 program - see screenshot below. 
    I have Googled this error and found some similar complaints, but no solutions - other than uninstalling the program forever!
    I have uninstalled and reinstalled to no effect. I cannot get a response from Adobe.
    I would be grateful for any observations you make of this fault, including an explanation of what this "Dynamic Link Manager" does. I have previously written for help to iCreate Magazine, with no solution offered.
    Thank You
    Trevor Mawson
    iMac 2007, 2Ghz Intel Core 2 Duo. 4 Gb Memory. OSX 10.9.4
    in other respects, working well.

    Moved topic from FAQ to Flash Player Usage forum.

  • Major Memory Problem

    I have a K7N2 Delta series motherboard. I just installed a new 120 gig harddrive and a 512 stick of pc2700 DDR ram. I had no problems getting them both in but now it's hangingnon startup and the d-bracket is telling me its a ram problem. I removed the new stick of ram and It's still hanging. I moved around the original ram in on of the other slots and still the same problem. I also removed the old ram, installed the new, and still hanging at memory detection. Any suggestions? The only problem I had was finding power to get to the hard drive but I found some that I could use, I don't think my PS is overloaded but if it was, would it be hangning at this point? I have tried without the new HD, still the same problem it seems.

    IDE 3 is for use in setting up a raid using one IDE drive in IDE 3 or one IDE drive in IDE 3 and one SATA drive in either SATA 1 or 2.
    So you can set it raid O with IDE drive in IDE 3 and one SATA drive on SATA 1 or 2.
    Or raid 1 one IDE drive on IDE 3 and One SATA drive on SATA 1 or 2.
    Or raid 1 with one IDE drive in IDE 3.
    I think that any drive hooked to IDE 3 most be part of an array either by its self or with another drive.
    I've heard that there is a Mod driver that allows two SATA drives set to Raid 0 and the drive hooked to IDE 3 mirroring the two SATA drives.

  • Major Mail Crash with iOS 6 and iPad 2... now a blank Mail screen

    I just had a major Mail app crash with iOS 6 on my iPad 2.
    I was composing an email with pictures in it and when I got to the point of pasting the forth picture into the email, the Apple Mail app started to get very sluggish and crashed.  Now, every time I open the Mail app, the screen is white (i.e. - without any text on it) and then Mail crashes after about 10-15 seconds.  (BTW - It seemed like the sluggishness got worse as I pasted the last two pictures in.... and the pictures were large sized (at about 750kB each).... so they weren't overly big in size.)
    Closing the app, shutting down my iPad 2 and hard resetting my iPad (by holding down both the Home and Power buttons) have no effect on the problem.
    This is a very bad situation since I'm traveling for business and was using the iPad for keeping up with email.  Now, I get nothing put a blank screen whenever I try to open the mail app.
    Does anyone know of a way to get the Mail app back?
    Thanks.

    Facing the same problem on iPad (3rd generation, wifi)
    I'm using Gmail and every time I open it, it crash a lot (white screen or scroll down very,very slowly),also can't open or send anymore :(
    Facebook is nice but it also crash (even I delete and reinstall several time, it still crash like slow respond or even no respond at all)
    The most upset is touch seem crash sometime :( (need to touch two or three times)
    Help!!! I don't wanna make myself look down on iOS after this upgrade! I do love the former 5.1.1 (smooth touch and easy mail)

  • Is there a way to fix the Remote Desktop Connection Manager memory usage crashes?

    I'm using RDCMan and it has been using a lot of memory and crashing.  With 12 connections it uses 1,548,976 K of memory and crashes with an "Unhandled exception" "Not enough storage is available to process this command. (Exception from
    HRESULT: 0x80070008)."  I love this program and want to know if there's a way to fix this on my end.  It seems like other people are not having this issue.  I'm running a fresh install of Win7 Ent.  I have .NET 3.51 and 4 installed.
     Do I need to installed .NET 2.0?
    Here is the info from the crash:
    See the end of this message for details on invoking 
    just-in-time (JIT) debugging instead of this dialog box.
    ************** Exception Text **************
    System.Runtime.InteropServices.COMException (0x80070008): Not enough storage is available to process this command. (Exception from HRESULT: 0x80070008)
       at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
       at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
       at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)
       at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
       at System.Windows.Forms.AxHost.CreateInstance()
       at System.Windows.Forms.AxHost.GetOcxCreate()
       at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
       at System.Windows.Forms.AxHost.CreateHandle()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.AxHost.EndInit()
       at RDCMan.RdpClient7..ctor(RdpClient parent, MainForm form)
       at RDCMan.RdpClient..ctor(MainForm form)
       at RDCMan.RdpClient.AllocClient(Server server, MainForm form)
       at RDCMan.Server.InitClient()
       at RDCMan.Server.ConnectAs(ILogonCredentials logonCredentials)
       at RDCMan.Server.Connect()
       at RDCMan.ServerTree.OnDoubleClick(EventArgs e)
       at System.Windows.Forms.TreeView.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    RDCMan
        Assembly Version: 2.2.2.426
        Win32 Version: 2.2.2.426
        CodeBase: file:///C:/Program%20Files%20(x86)/Remote%20Desktop%20Connection%20Manager/RDCMan.exe
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    System.Configuration
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    System.Deployment
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
    AxMSTSCLib
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Remote%20Desktop%20Connection%20Manager/AxMSTSCLib.DLL
    MSTSCLib
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Remote%20Desktop%20Connection%20Manager/MSTSCLib.DLL
    afvxqrqi
        Assembly Version: 2.0.0.0
        Win32 Version: 
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.

    I am experiencing the same sort of problem with RDCman after my laptop installed Windows updates last weekend so it is probably caused by a recent .net framework update, not sure which one it is yet, has to be one of last weeks updates for sure.
    See below for the detail log:
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    ************** Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
       at RDCMan.RdcSettingsProvider.SetPropertyValues(SettingsContext context, SettingsPropertyValueCollection values)
       at System.Configuration.SettingsBase.SaveCore()
       at System.Configuration.SettingsBase.Save()
       at System.Configuration.ApplicationSettingsBase.Save()
       at RDCMan.Preferences.Save()
       at RDCMan.MainForm.AutoSaveTimerTickHandler(Object sender, EventArgs e)
       at System.Windows.Forms.Timer.OnTick(EventArgs e)
       at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5466 (Win7SP1GDR.050727-5400)
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    RDCMan
        Assembly Version: 2.2.2.426
        Win32 Version: 2.2.2.426
        CodeBase: file:///C:/Program%20Files/Remote%20Desktop%20Connection%20Manager/RDCMan.exe
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    System.Configuration
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    System.Deployment
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
    AxMSTSCLib
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Program%20Files/Remote%20Desktop%20Connection%20Manager/AxMSTSCLib.DLL
    MSTSCLib
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Program%20Files/Remote%20Desktop%20Connection%20Manager/MSTSCLib.DLL
    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.

  • Pages Memory problem?

    I have created a 96 page book in "pages" with many photographs (jpegs). It looks fine when I open it in "Pages" but when I try to convert the file to PDF (using export, print to file, even make postscript file) all the photographs beyond page 70 appear as rectangles with an x through them and a ? inside.
    I can split the book in half (pages 1-46 and pages 47-96) and the photos convert to pdfs okay. It seems there is not enough memory somewhere to convert all the images into pdfs. I have tried on 2 different computers with different operating systems so do not think the memory problem is with the hardware.Is there a memory limit built into the "pages" software that is causing this??
    thanks

    I have created a 96 page book in "pages" with many
    photographs (jpegs). It looks fine when I open it in
    "Pages" but when I try to convert the file to PDF
    (using export, print to file, even make postscript
    file) all the photographs beyond page 70 appear as
    rectangles with an x through them and a ? inside.
    I can split the book in half (pages 1-46 and pages
    47-96) and the photos convert to pdfs okay. It seems
    there is not enough memory somewhere to convert all
    the images into pdfs. I have tried on 2 different
    computers with different operating systems so do not
    think the memory problem is with the hardware.Is
    there a memory limit built into the "pages" software
    that is causing this??
    thanks
    It is still a mystery to me why I can't make a complete pdf of the "Pages" file. But thanks for the solutions about putting the separate pdf files back together. I will try them.

  • Windows 98 resource & memory problems with Developer/2k v2.1

    Hi All
    I have just started developing with Developer/2000 v2.1 on
    Oracle v7.3. I recently purchased a Dell Inspiron 3500 notebook
    PC running Windows 98 (64M RAM, 4.3G HD). I have had continuous
    problems with the system running out of system resources and/or
    memory.
    The problem seems to be with both the development and runtime
    programs. If I run the Form Builder and then exit it, the system
    information program reports that the F50DES32.EXE is still
    running, plus there are a load of 32-bit driver files left in
    memory. The same problem occurs with the runtime, in that once
    it's loaded, even after taking the exit option, the F50RUN32.EXE
    is left running in memory. This would not be so bad if
    subsequent loads of either program recognised that the program
    was already running, but they do not so you end up with multiple
    copies of the programs running. At the moment, with regular
    changes, recompiles and reloads of the runtime going on, I have
    to reboot the PC on average about once every 30 minutes.
    I cannot find anything on either the Microsoft or Oracle web
    sites about this problem, and really I'm not sure who's to
    blame. I guess development on Windows 98 is still pretty young.
    However, this seems to be a fairly serious problem and is
    certainly having a major impact on productivity!
    Am I missing something in terms of Oracle parameter settings or
    in the way Windows 98 is set up? Has anybody out there had
    similar problems? Can anybody help??
    Thanks
    Billy
    null

    I also observed something like this- but it was a programming error. I was using ADODB in LabVIEW to run SELECT statements and retrieve data from recordsets. My program would gradually consume more and more RAM over time. This was plainly visible on NTs Task Manager. My problem was that I was simply forgetting to close/destroy many of the object references. This would also sometimes cause my system to crash when I stopped the program and exited LabVIEW (or exited the run-time engine if it was an exe).
    I might suggest you go through the program and make sure you use the Automation Close function to close the appropriate references.
    Its especially important to close all "Fields" and "Field" references.
    Also, I found that running the GET ROWS method or GE
    T STRING method on a recordset works much better than retrieving data using "Fields" and "Field" objects... its faster, easier, less prone to causing problems, less trouble with references and stuff.

  • Problems with UIImage imageWithCIImage and CIImage imageWithCGImage

    Hi,
    At some point in my phto/video processing, I have a CGImage that I need to convert to CIImage to apply some CIImage adjustments. Eventually, need to convert it to UIImage for display.
    The code below seems to be the efficient way of doing it:
    CIImage *outputImage = [CIImage imageWithCGImage:cgImage]
    ...do some processing with CIImage...
    UIImage *finalImage = [UIImage imageWithCGImage:ref scale:1.0 orientation:imageOrientation];
    However, it seems to rescale image introducing various artifacts, pretty much messing up the image.
    On the other hand, if I create another copy of CGImage with:
    CIImage *outputImage = [CIImage imageWithCGImage:cgImage]
    ...do some processing with CIImage...
    IContext *context = [CIContext contextWithOptions:nil];
        CGImageRef ref = [context createCGImage:outputImage fromRect:outputImage.extent];
        CGImageRelease(cgImage); 
      UIImage *finalImage = [UIImage imageWithCGImage:ref scale:1.0 orientation:imageOrientation];
    CGImageRelease(ref)
    the photo is good - i.e. it doesn't mess up the image, but does double allocation causing huge memory spike for a full res photo - it may even crash the app.
    1. Why is the CGImage to CIImage to UIImage as in the first example broken ?
    2. What is the fix?
    Thx.

    I am quite sorry - made a silly copy/paste mistake:
    I am already using [UIImage imageWithCIImage] - which is where the problem is.
    As posted in the question, the problem is with going from cgimage -> ciimage -> uiimage
    It works fine if I make an extra conversion from ciimage back to cgimage.
    The first part of the example code {that doesn't work well} is actually as folllows and not as shown above {copy/paste mistake}
    CIImage *outputImage = [CIImage imageWithCGImage:cgImage]
    ...do some processing with CIImage...
    UIImage *finalImage = [UIImage imageWithCIImage:outputImage scale:1.0 orientation:imageOrientation];

  • Memory problem with jdk/jre 1.1.8

    My name is BERGMANN Yannick.
    I'm working for IRM in Li?ge and we developped an application (user interface for an industrial measurement system) in Java (JDK/JRE version : 1.1.8).
    We have a big memory problem with this application :
    - This user interface is running on a WINDOWS NT PC with 128MB.
    - This is the command to lanch our application :
    C:\Program Files\JavaSoft\JRE\1.1\bin\jrew.exe" -ms32m -mx32m -cp "\Program Files\HMI\HMI.zip;\Velocis\Add_On\Jdbc\raima.jar;\Program Files\Swing-1.1.1\swingall.jar" be.irm.hmi.kernel.HMI -t15 -d"Velocis rdstcp" -newdb -mf1m -mr20
    - When our application is running, everything seems to be OK in memory for it. The garbage collector seems to work properly and our application has always at least 5MB free memory (We use the java instruction "Runtime.getRuntime().freeMemory()" to know this).
    - But when we look in the "Windows NT task manager" for the "jrew" application, the memory increases ALWAYS.
    - After 5 days our application is completely frozen and blocked ...???
    - here is a memory map of our Windows NT PC :
         "jre.exe"     "commit total"     "commit limit"     "commit peak"     "physical total"     "physical available"     "physical file cache"     
    Monday     92264     109256     194944     109424     130484     19492     6216     
    Thuesday     106196     123072     194944     123348     130484     6072     5840     
    Wednesday     110836     132288     194944     132416     130484     4408     5140     
    Thursday     108200     144980     194944     145140     130484     4888     5148     
    Friday     109440     158319     194944     161334     130484     4911     4992     
    Monday     111600     209060     228548     209148     130484     5184     3484     
    Have you any idea of what is happening with "jrew" in memory ?
    We have had this problem for six month and we are totaly out of idea.
    If you can give us any idea, we'll appreciate a lot.
    Thanks in advance,
    BERGMANN Yannick
    IRM SA - Software Engineer
    Tel. (32)4/239.90.10
    Tel. (32)4/239.90.74 (direct)
    Fax (32)4/263.40.97
    E-mail [email protected]

    We had a memory problem with a swing applet in our company. The major reason for this was that we added new components in a JTree and removed them later again, and the components we removed were never garbage collected. This was because with these components we added different listeners, and we didn't remove the listeners after we didn't need the components anymore. After we corrected this, the components where garbage collected.
    Perhaps it's a similar problem you have, or I have no idea. Check that you remove actionlisteners, mouselisteners etc from components you want to be garbage collected.
    You could also test your application with OptimizeIt to see what objects you create and how many you get of them over time: http://www.vmgear.com

  • My imac crash with kernel panic many times. I upgraded to Maverick but i have the same problem.

    Hi,
    my imac crash with a kernel panic many times per day, many applications are unable to open correctly and the close after 1 or 2 seconds.
    I suspect a memory problem but i am not sure. here is the dump of  the last crash.
    thanks
    Anonymous UUID:       3A1C8E99-A83E-A306-542B-C0812262FDFB
    Tue Feb 25 21:59:18 2014
    panic(cpu 0 caller 0xffffff80034dc19e): Kernel trap at 0xffffff7f84498978, type 14=page fault, registers:
    CR0: 0x000000008001003b, CR2: 0x000000000c00002c, CR3: 0x000000005a9a0000, CR4: 0x0000000000000660
    RAX: 0xffffff802c8d3108, RBX: 0x00000000beef0202, RCX: 0xb4ae06f6f0af0095, RDX: 0x0000000000000020
    RSP: 0xffffff81554cb720, RBP: 0xffffff81554cb740, RSI: 0x0000000000100c80, RDI: 0x000000000c000000
    R8:  0xffffff7f846c0fb4, R9:  0xffffff81554cb394, R10: 0x000000000001d620, R11: 0xffffff801ee95308
    R12: 0x0000000021000000, R13: 0x0000000000000000, R14: 0x000000000c000000, R15: 0xffffff81554cb808
    RFL: 0x0000000000010206, RIP: 0xffffff7f84498978, CS:  0x0000000000000008, SS:  0x0000000000000010
    Fault CR2: 0x000000000c00002c, Error code: 0x0000000000000000, Fault CPU: 0x0
    Backtrace (CPU 0), Frame : Return Address
    0xffffff81554cb3b0 : 0xffffff8003422f69
    0xffffff81554cb430 : 0xffffff80034dc19e
    0xffffff81554cb600 : 0xffffff80034f3606
    0xffffff81554cb620 : 0xffffff7f84498978
    0xffffff81554cb740 : 0xffffff7f844987ad
    0xffffff81554cb7a0 : 0xffffff7f843849d9
    0xffffff81554cb850 : 0xffffff7f8438dfc5
    0xffffff81554cb910 : 0xffffff7f843b3232
    0xffffff81554cbb10 : 0xffffff7f843b4cb4
    0xffffff81554cbc00 : 0xffffff7f848dc980
    0xffffff81554cbc60 : 0xffffff7f848d9702
    0xffffff81554cbcf0 : 0xffffff7f848c4137
    0xffffff81554cbd20 : 0xffffff7f84881497
    0xffffff81554cbd40 : 0xffffff7f84895428
    0xffffff81554cbd60 : 0xffffff7f84895147
    0xffffff81554cbda0 : 0xffffff7f848ccc8a
    0xffffff81554cbde0 : 0xffffff7f84895687
    0xffffff81554cbe00 : 0xffffff80038ca892
    0xffffff81554cbe20 : 0xffffff80034b205f
    0xffffff81554cbe50 : 0xffffff8003426bb1
    0xffffff81554cbe80 : 0xffffff80034139b5
    0xffffff81554cbef0 : 0xffffff800341e003
    0xffffff81554cbf70 : 0xffffff80034c921d
    0xffffff81554cbfb0 : 0xffffff80034f3e26
          Kernel Extensions in backtrace:
             com.apple.nvidia.classic.NVDAResmanTesla(8.1.8)[0A1B6F41-168D-307A-BABD-162F3B3 C2786]@0xffffff7f8435d000->0xffffff7f845cbfff
                dependency: com.apple.iokit.IOPCIFamily(2.8)[447B4896-16FF-3616-95A2-1C516B2A1498]@0xffffff 7f839fe000
                dependency: com.apple.iokit.IONDRVSupport(2.3.6)[86BA68C6-18DD-30A1-ABF6-54597AD6C277]@0xff ffff7f84162000
                dependency: com.apple.iokit.IOGraphicsFamily(2.3.6)[38E388A5-92D6-3388-B799-F2498E582287]@0 xffffff7f84082000
             com.apple.GeForceTesla(8.1.8)[7DAF283F-6FD3-3783-B3CC-D23964F1B9B8]@0xffffff7f8 4879000->0xffffff7f84943fff
                dependency: com.apple.iokit.IOPCIFamily(2.8)[447B4896-16FF-3616-95A2-1C516B2A1498]@0xffffff 7f839fe000
                dependency: com.apple.iokit.IONDRVSupport(2.3.6)[86BA68C6-18DD-30A1-ABF6-54597AD6C277]@0xff ffff7f84162000
                dependency: com.apple.iokit.IOGraphicsFamily(2.3.6)[38E388A5-92D6-3388-B799-F2498E582287]@0 xffffff7f84082000
                dependency: com.apple.nvidia.classic.NVDAResmanTesla(8.1.8)[0A1B6F41-168D-307A-BABD-162F3B3 C2786]@0xffffff7f8435d000
    BSD process name corresponding to current thread: WindowServer
    Mac OS version:
    13B42
    Kernel version:
    Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64
    Kernel UUID: 1D9369E3-D0A5-31B6-8D16-BFFBBB390393
    Kernel slide:     0x0000000003200000
    Kernel text base: 0xffffff8003400000
    System model name: iMac10,1 (Mac-F2268CC8)
    System uptime in nanoseconds: 2157140189946
    last loaded kext at 1446762719430: com.apple.driver.AppleUSBCDC          4.2.1b2 (addr 0xffffff7f84944000, size 20480)
    last unloaded kext at 1530259986024: com.apple.driver.AppleUSBCDC          4.2.1b2 (addr 0xffffff7f84944000, size 16384)
    loaded kexts:
    com.Cycling74.driver.Soundflower          1.5.1
    com.rim.driver.BlackBerryUSBDriverInt          0.0.74
    com.apple.driver.AppleBluetoothMultitouch          80.14
    com.apple.driver.AppleHWSensor          1.9.5d0
    com.apple.driver.AudioAUUC          1.60
    com.apple.iokit.IOUserEthernet          1.0.0d1
    com.apple.iokit.IOBluetoothSerialManager          4.2.0f6
    com.apple.driver.AGPM          100.14.11
    com.apple.driver.AppleUpstreamUserClient          3.5.13
    com.apple.driver.AppleMikeyHIDDriver          124
    com.apple.GeForceTesla          8.1.8
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.AppleHDA          2.5.3fc1
    com.apple.driver.AppleMikeyDriver          2.5.3fc1
    com.apple.driver.AppleBacklight          170.3.5
    com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport          4.2.0f6
    com.apple.driver.AppleHWAccess          1
    com.apple.driver.ACPI_SMC_PlatformPlugin          1.0.0
    com.apple.driver.AppleLPC          1.7.0
    com.apple.driver.AppleMCCSControl          1.1.12
    com.apple.filesystems.autofs          3.0
    com.apple.iokit.SCSITaskUserClient          3.6.0
    com.apple.driver.AppleIRController          325.7
    com.apple.driver.AppleUSBCardReader          3.3.5
    com.apple.driver.XsanFilter          404
    com.apple.BootCache          35
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless          1.0.0d1
    com.apple.driver.AppleFWOHCI          4.9.9
    com.apple.iokit.IOAHCIBlockStorage          2.4.0
    com.apple.driver.AirPort.Atheros40          700.74.5
    com.apple.driver.AppleUSBHub          650.4.4
    com.apple.driver.AppleRTC          2.0
    com.apple.nvenet          2.0.21
    com.apple.driver.AppleUSBEHCI          650.4.1
    com.apple.driver.AppleUSBOHCI          650.4.1
    com.apple.driver.AppleAHCIPort          2.9.5
    com.apple.driver.AppleHPET          1.8
    com.apple.driver.AppleACPIButtons          2.0
    com.apple.driver.AppleSMBIOS          2.0
    com.apple.driver.AppleACPIEC          2.0
    com.apple.driver.AppleAPIC          1.7
    com.apple.driver.AppleIntelCPUPowerManagementClient          216.0.0
    com.apple.security.quarantine          3
    com.apple.nke.applicationfirewall          153
    com.apple.driver.AppleIntelCPUPowerManagement          216.0.0
    com.apple.driver.AppleBluetoothHIDKeyboard          170.15
    com.apple.driver.AppleHIDKeyboard          170.15
    com.apple.driver.IOBluetoothHIDDriver          4.2.0f6
    com.apple.driver.AppleMultitouchDriver          245.13
    com.apple.iokit.IOSurface          91
    com.apple.iokit.IOSerialFamily          10.0.7
    com.apple.AppleGraphicsDeviceControl          3.4.12
    com.apple.iokit.IOBluetoothFamily          4.2.0f6
    com.apple.nvidia.classic.NVDANV50HalTesla          8.1.8
    com.apple.nvidia.classic.NVDAResmanTesla          8.1.8
    com.apple.driver.DspFuncLib          2.5.3fc1
    com.apple.vecLib.kext          1.0.0
    com.apple.iokit.IOAudioFamily          1.9.4fc11
    com.apple.kext.OSvKernDSPLib          1.14
    com.apple.driver.AppleBacklightExpert          1.0.4
    com.apple.iokit.IONDRVSupport          2.3.6
    com.apple.iokit.IOFireWireIP          2.2.5
    com.apple.iokit.IOBluetoothHostControllerUSBTransport          4.2.0f6
    com.apple.driver.AppleHDAController          2.5.3fc1
    com.apple.iokit.IOHDAFamily          2.5.3fc1
    com.apple.driver.AppleSMC          3.1.6d1
    com.apple.driver.IOPlatformPluginLegacy          1.0.0
    com.apple.driver.AppleSMBusPCI          1.0.12d1
    com.apple.driver.IOPlatformPluginFamily          5.5.1d27
    com.apple.driver.AppleSMBusController          1.0.11d1
    com.apple.iokit.IOGraphicsFamily          2.3.6
    com.apple.kext.triggers          1.0
    com.apple.iokit.IOSCSIMultimediaCommandsDevice          3.6.0
    com.apple.iokit.IOBDStorageFamily          1.7
    com.apple.iokit.IODVDStorageFamily          1.7.1
    com.apple.iokit.IOCDStorageFamily          1.7.1
    com.apple.iokit.IOUSBHIDDriver          650.4.4
    com.apple.driver.AppleUSBMergeNub          650.4.0
    com.apple.iokit.IOAHCISerialATAPI          2.6.0
    com.apple.iokit.IOFireWireFamily          4.5.5
    com.apple.iokit.IO80211Family          600.34
    com.apple.iokit.IOUSBUserClient          650.4.4
    com.apple.driver.AppleEFINVRAM          2.0
    com.apple.iokit.IONetworkingFamily          3.2
    com.apple.driver.NVSMU          2.2.9
    com.apple.driver.AppleEFIRuntime          2.0
    com.apple.iokit.IOAHCIFamily          2.6.0
    com.apple.iokit.IOHIDFamily          2.0.0
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.TMSafetyNet          7
    com.apple.security.sandbox          278.10
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.iokit.IOUSBMassStorageClass          3.6.0
    com.apple.iokit.IOSCSIBlockCommandsDevice          3.6.0
    com.apple.iokit.IOSCSIArchitectureModelFamily          3.6.0
    com.apple.driver.AppleUSBComposite          650.4.0
    com.apple.iokit.IOUSBFamily          650.4.4
    com.apple.iokit.IOReportFamily          21
    com.apple.driver.DiskImages          371.1
    com.apple.iokit.IOStorageFamily          1.9
    com.apple.driver.AppleKeyStore          2
    com.apple.driver.AppleFDEKeyStore          28.30
    com.apple.driver.AppleACPIPlatform          2.0
    com.apple.iokit.IOPCIFamily          2.8
    com.apple.iokit.IOACPIFamily          1.4
    com.apple.kec.pthread          1
    com.apple.kec.corecrypto          1.0
    Model: iMac10,1, BootROM IM101.00CC.B00, 2 processors, Intel Core 2 Duo, 3.06 GHz, 12 GB, SMC 1.52f9
    Graphics: NVIDIA GeForce 9400, NVIDIA GeForce 9400, PCI, 256 MB
    Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1067 MHz, 0x029E, 0x434D5341344758334D314131303636433720
    Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1067 MHz, 0x029E, 0x434D5341344758334D314131303636433720
    Memory Module: BANK 0/DIMM1, 2 GB, DDR3, 1067 MHz, 0x802C, 0x31364A53463235363634485A2D3147314631
    Memory Module: BANK 1/DIMM1, 2 GB, DDR3, 1067 MHz, 0x802C, 0x31364A53463235363634485A2D3147314631
    AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x8F), Atheros 9280: 4.0.74.0-P2P
    Bluetooth: Version 4.2.0f6 12982, 3 services, 23 devices, 1 incoming serial ports
    Network Service: Ethernet, Ethernet, en0
    Network Service: AirPort, AirPort, en1
    Serial ATA Device: ST3500418ASQ, 500,11 GB
    Serial ATA Device: HL-DT-ST DVDRW  GA11N
    USB Device: Photosmart C4600 series
    USB Device: Built-in iSight
    USB Device: External HDD
    USB Device: Internal Memory Card Reader
    USB Device: IR Receiver
    USB Device: BRCM2046 Hub
    USB Device: Bluetooth USB Host Controller
    Thunderbolt Bus:

    Remove the aftermarket memory and see whether there's an improvement.

  • Urgent problem: JRE Crashes with Access violation (c0000005)

    I have a problem where the JRE crashes with an Access violation (c0000005) at address (6d4218ce).
    The JVM is:
    java version "1.3.1_01"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
    Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)The application is swing based, and I have my suspicions that the problem occurs when exec'ing (Runtime.exec()) a script file (deletes data files and FTP's data files around an internal network), but I cannot categorically prove it as yet.
    The lack of a .map file does not help in analysing the Dr Watson log file. Does anyone know if a map file is available for 1.3.1?
    I have tried to raise this as a bug but as we cannot reproduce it on demand, I cannot get Sun to look into it.
    The Dr Watson log file shows:
    State Dump for Thread Id 0x13e
    eax=bf800000 ebx=0336b770 ecx=02b72168 edx=bf800008 esi=02b72168 edi=06ffd12c
    eip=6d4218ce esp=08d0fdbc ebp=08d0fddc iopl=0         nv up ei ng nz na pe nc
    cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000282
    function: <nosymbols>
            6d4218b9 8d4df0           lea     ecx,[ebp-0x10]         ss:09c0e7e2=00000000
            6d4218bc e875000000       call    6d421936
            6d4218c1 5f               pop     edi
            6d4218c2 5e               pop     esi
            6d4218c3 c9               leave
            6d4218c4 c3               ret
            6d4218c5 56               push    esi
            6d4218c6 8bf1             mov     esi,ecx
            6d4218c8 8b5604           mov     edx,[esi+0x4]          ds:03a70b6e=????????
            6d4218cb 83c208           add     edx,0x8
    FAULT ->6d4218ce 8b4210           mov     eax,[edx+0x10]         ds:c06fea0e=????????
            6d4218d1 85c0             test    eax,eax
            6d4218d3 7f25             jg      6d4218fa
            6d4218d5 7d1b             jge     6d4218f2
            6d4218d7 83c9ff           or      ecx,0xff
            6d4218da 6a04             push    0x4
            6d4218dc 2bc8             sub     ecx,eax
            6d4218de 8b4608           mov     eax,[esi+0x8]          ds:03a70b6e=????????
            6d4218e1 d3e0             shl     eax,cl
            6d4218e3 8b4a44           mov     ecx,[edx+0x44]         ds:c06fea0e=????????
            6d4218e6 8d440807         lea     eax,[eax+ecx+0x7]      ds:03a70b6f=????????
            6d4218ea 59               pop     ecx
    *----> Stack Back Trace <----*
    FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
    08d0fddc 6d4710ee 0336b734 0336b734 6d4381b7 0336b734 <nosymbols>
    State Dump for Thread Id 0x140
    eax=06a82398 ebx=00000000 ecx=06ab34f0 edx=00000000 esi=0000017c edi=00000000
    eip=77f682db esp=08d4fc24 ebp=08d4fc48 iopl=0         nv up ei pl zr na po nc
    cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000246
    function: NtWaitForSingleObject
            77f682d0 b8c5000000       mov     eax,0xc5
            77f682d5 8d542404         lea     edx,[esp+0x4]          ss:09c4e62b=00000000
            77f682d9 cd2e             int     2e
            77f682db c20c00           ret     0xc
            77f682de 8bc0             mov     eax,eax
    *----> Stack Back Trace <----*
    FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
    08d4fc48 77f04f37 0000017c ffffffff 00000000 6d466097 ntdll!NtWaitForSingleObject
    08d4fc90 6d476550 00000000 00000000 00000001 00765d80 kernel32!WaitForSingleObject Any help would be much appreciated.
    Regards,
    Dave Jackson

    Probably nothing to do with it but I had some dodgy memory, and windows would complain that there was an error to do with that exact memory location: c0000005

  • Hello i have a problem when i start woorksheet, my computer crash with blue screen sometimes.

    hello i have a problem when i start woorksheet, my computer crash with blue screen.
    OS: Win 2000 pack 2 and dasylab 7.00.05 ;ddi7.02 ;nidaq 7.0
    I hve this problem sometimes and need to reebot my computer.This worksheet is used to generate 4 signals to output and have an acquisition tooin this 4 channels.
    The error is in the blue screen:0x00000076 (0x00000000 , 0x81358300, 0x000001c2, 0x00000000).
    Thanks for your help.

    The DASYLab development team has read your message, and advises that there is insufficient information to be able to even start diagnosing the problem. We suggest that you send a note directly to [email protected], with your full contact information, DASYLab serial number, and the following technical information:
    -The Help-->Report information - this will tell us more about the computer, video and installed memory
    -Installed hardware - what DAQ devices are you using (exact models!)
    -The worksheet that crashes - we need to see how the timing is configured in the worksheet
    -What other programs are running at the same time?
    -Does the worksheet crash every time?
    -Does the NI-DAQ Test Panel work correctly for both inputs and outputs?
    Sorry that we cannot be more help in this forum; we do not have much experience with blue screen under Windows 2000. This is very hard to do, and is almost always related to a hardware problem - either a resource conflict, or problems with one of the installed hardware devices (DAQ, Video, Memory...).
    Regards,
    -cj
    - cj
    Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.

  • Mainstage crashes with certain memory upgrade that work with other programs

    I updated my memory from 2G to 4 but selected a cheaper brand that had good feedback. It works fine with all the programs but Mainstage seems to need a certain quality memory as the program crashed all the time after several minutes or so of playing, but oddly, the program completely disappeared from my screen when it crashed with the rest of the computer (a Macbook Pro 2.2) working fine. When I put the old memory back (2Gig) in it only crashed when the memory was full as it fills up continually, bit by bit, while you are playing. Anyway, I thought I would mention this in case someone has the same problem with a more 'value' memory. I am RMAing it and getting a better brand. This originally did this in Leopard but downgrading to Tiger I found the same problem. I am also using a Firewire rack, sound card. RME Fireface 800 that makes the instruments sound phenominal, I might say though may be consider overkill.

    I've used a number of budget Ram sticks in my day, and have never heard of Ram that is working properly but can't handle a load that another stick of the same type and capacity could handle. I do know that you're supposed to put 'matched pairs' into those MBP's in order to get the highest performance. If anyone reading this has more insight on the particular question, (ie. can certain brands of Ram not perform the same as other brands, excluding sticks that are faulty or damaged), I'd love to hear.
    I'm glad you're up and running, and I hope it wasn't the Ram since the Mainstage update seems to have alleviated the problem for you. Rember is the same test as Memtest, but with Memtest you boot up from the console, so it can check every sector of the Ram. Rember runs while you're running OSX so parts of the Ram can't be tested since it's being used by the OS.

  • Premiere Pro CC crashing with "Out of Memory"

    Hi,
    I have a serious problem who irritates me !
    My project contain 75min of clips with effects, sounds and titles.
    After few minutes, Windows tell me what I have not enough memory, PP crash and I lose my unsaved changes.
    Indeed, PP eat 13go/16go of my RAM.
    However, I set limitation to 10go (see the snapshot) :
    How can I fix this ?!?

    Just incrase the windows Swap File.
    Serioulsy, is it a joke ?
    54go of the swap (set to 100go for test) + 9go of the ram.
    Never had this before.

Maybe you are looking for

  • ALV list display in a Background job - Spool output

    Hi, We are currently working on a report scheduled to be run in the background job, and the ALV list is displayed in the spool output. ALV list in the spool does not look the same as front run job, the column headers are all crowded together, and the

  • Contact list not show after migration Exchange 2007 to 2010

    Hello. I have a old infraestructure with exchange 2007 and new organizacion with exchnage 2010 If I migrate a mailbox from 2007 to 2010 I can open the mailbox on 2010 without problems, From owa works correct active sync and outlook work correct, I ca

  • Interactive PDF in an email body?

    How can I insert an interactive PDF that I've designed in InDesign into gmail as the email body? Do I need to export it as another file type?

  • How to catch a switching of radiobutton in "AT SELECTION-SCREEN"

    Hi, I have a selection screen with 2 radiobuttons in group 001. I need to perform some code when I change a status of particular radiobutton (checked - unchecked). I have a code in AT SELECTION SCREEN ON RADIOBUTTON GROUP 001 but this code is not exe

  • Numbers Line Fixation

    Please Helpppp: Is there in NUMBERS a function like in EXCEL where I can fix one or more lines or colums on the upper and/or left side of the document so that I can scroll down or right and these lines/colums stay in place? E.g. to have a sum or othe