Memory leaks in GC or something else on iOS

Hello.
I am making a game by Adobe AIR for iOS. My application has a memory leak bug with using only iOS.
So, I have some questions.
Why is it different using memory size of between Scout and Instruments VM Tracker (Dirty size) ?
Why is the difference increased between Scout and VM Tracker?I think, AIR makes memory leaks on GC when iOS alerts a low memory warning.
Can I catch GPU memory size ?
Rendering mode is 'gpu'.
I don't use Stage3D.
I think it is 'IOKit' dirty size of VM Tracker. Its right?
Scout gives no memory leaks. Instruments VM Tracker gives 50MB leaks for 20min.
1min ago. 162MB
20min ago. 162MB
Instruments 220MB -> 272MB
Scout overhead memory was about 1kB/min increasing.
I am sorry I have no small code to reproduce.
Environment:
iPad mini iOS7.0.4
AIR 3.9.0.1030

Hi!
I think the virus did modify or delete some system files so are not able to boot in safe mode, print documents and so far.
Furthermore I must agree Raver. The best way would be to reinstall Windows with the recovery disk. This takes only few minutes but safe your data before. The HDD will be completely formatted.
If have reinstalled Windows, you should first install all Service Packs and Hotfixes (visit the Windows update website).
And dont forget to install a antivirus program like AntiVir (freeware).
Bye

Similar Messages

  • [gnome 3] memory leak or at least something suspicious

    Mem:       2055060    1919924     135136          0      17044    1536900
    -/+ buffers/cache:     365980    1689080
    Swap:       530140          0     530140
    Doesn't look that nice.
    755 root      20   0  6308 1556 1108 R 14.6  0.1   4:32.78 syslog-ng         
    4245 jochem    20   0  160m  34m 9732 S 10.3  1.7   3:28.96 transmission-gt   
    3159 root      20   0 73608  18m 6676 S  0.7  0.9   1:37.21 Xorg               
    6573 jochem    20   0  120m  12m 9352 S  0.3  0.6   0:01.42 gnome-terminal     
    6797 jochem    20   0  2544  936  724 R  0.3  0.0   0:00.80 top               
        1 root      20   0  1872  540  476 S  0.0  0.0   0:00.63 init               
        2 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kthreadd
    09:54:07 up  1:50,  2 users,  load average: 0.14, 0.31, 0.36
    I just closed firefox of which I heard it can eat memory??
    I'm in the dark here. Does anyone know what to search for? Are there any known issues regarding gnome3 and mem-usage? Maybe known issues around Xorg?
    Could it be that it's funny that there's 2 users active , namely me and uhmmmm...me?
    [jochem@laptop ~]$ users
    jochem jochem
    Any ideas??
    [edit]
    Maybe this is the culprit:
    I noticed the other day that my everything.log and iptables.log were eating diskspace >> they both grew into 2Gb (!). I even couldn't log into X after a while. I did solve that problem by manually removing those logs. I didn't uninstall ufw/iptables though as I thought that this was some temporary issue......
    This was two days ago, but this morning I noticed the same behaviour regarding my firewall. Obviously a bug. I got rid of ufw now ( and iptables )
    I'm not sure if this is related though.....
    Last edited by jocheem67 (2011-06-09 08:33:31)

    Holy toledo, that's at least a piece of a obligatory read. Excuse me for my ignorance.. I never realized this stuff....( after 7 years of linux I might add >> grmmmmmbbbll )
    I'm not marking my thread as solved though, because I do experience slowdowns when and if top and free are 'full'...
    I do blame firefox though for not being too effective on resources, but do realize that there's already a lot of material on the web 'bout that one.....
    Let me get back to this later on....first I have to do some reading.

  • XSLT processing and Memory Leak

    I have the following code for a Simple XSLT Transformation from one form of XML to another, the Size of the XML and the XSLT file are very small( few KB).
    As you can see I'm explicitly setting everything to null just to make sure the objects get GC'd.
    When I run the transformation on my local m/c running Windows XP on WSAD5.0 there are no memory leak issues, but when I deploy the Same app on our Server running WSAD 5.1 on Solaris, I see memory issues and finally throws an OutOfMemory Exception.
    Any Ideas would be appreciated.
         public String translate( String xml, String xsltFileName) throws Exception{
              String xmlOut = null;
              File fXslt = null;
              ByteArrayOutputStream baos = null;
              javax.xml.transform.Source xmlSource = null;
              javax.xml.transform.Source xsltSource = null;
              javax.xml.transform.Result result = null;
              InputStream isXML = null;
              javax.xml.transform.TransformerFactory transFact = null;
              javax.xml.transform.Transformer trans = null;
              Templates cachedXSLT = null;
              try{
              //     String classname = System.setProperty("javax.xml.transform.TransformerFactory", "org.apache.xalan.processor.TransformerFactoryImpl");
                   String classname = System.getProperty("javax.xml.transform.TransformerFactory");
                   System.out.println( "******* TRANSFORMER CLASS ***** = "+classname);
                   isXML = new ByteArrayInputStream( xml.getBytes());
                   fXslt = new File(xsltFileName);
                   baos = new ByteArrayOutputStream();
                   xmlSource =
                             new javax.xml.transform.stream.StreamSource( isXML);
                   xsltSource =
                             new javax.xml.transform.stream.StreamSource( fXslt);
                   result =
                             new javax.xml.transform.stream.StreamResult( baos);
                   // create an instance of TransformerFactory
                   transFact = javax.xml.transform.TransformerFactory.newInstance();
                   //transFact.setAttribute("http://xml.apache.org/xalan/features/incremental", Boolean.TRUE);
                   cachedXSLT = transFact.newTemplates(xsltSource);
                   trans = cachedXSLT.newTransformer();
                   //trans =     transFact.newTransformer(xsltSource);
                   trans.transform(xmlSource, result);
                   xmlOut = baos.toString();
    System.out.println("xmlout=***" + xmlOut);
              catch( Exception e){
                   System.out.println( e.getMessage());
                   throw e;
              finally{
                   trans = null;
                   //transFact = null;
                   result = null;
                   xsltSource = null;
                   xmlSource = null;
                   baos.close();
                   baos = null;
                   fXslt = null;
                   isXML.close();
                   isXML = null;
              return xmlOut;
         }

    scream3r wrote:
    All code work's as well, but i have a memory leak by using structure (by creating a new MyStructure());Presumably this really is java code. As such the following are the only possibilities
    1. You do not have a memory leak. You are misreading a tool (probably task manager) and assuming a leak exists when it doesn't.
    2. You need to call something either on MyStructure or by passing it to another class to free it. See the documentation.
    3. The leak is caused by something else.

  • Ringtones OS6 and memory leak

    Hello, a few weeks ago I updated to OS6. I found that the ringtones from the previous OS were gone so I installed them back with this link
    http://mobile.blackberry.com/resources/mbc/downloads/ringtones/drm/net_rim_bb_medialoader_ringtones_...
    Now I want to delete them again because of the memory leak, but I don't know how to do it? The ringtones seem to be locked and I can't access them. Is there any way to unlock them or get access to them with the Blackberry desktop software? Thanks!

    scream3r wrote:
    All code work's as well, but i have a memory leak by using structure (by creating a new MyStructure());Presumably this really is java code. As such the following are the only possibilities
    1. You do not have a memory leak. You are misreading a tool (probably task manager) and assuming a leak exists when it doesn't.
    2. You need to call something either on MyStructure or by passing it to another class to free it. See the documentation.
    3. The leak is caused by something else.

  • JNA Structures and memory leak

    Hi all.
    Sorry my JNA question in JNI forum, but i think it's exactly that forum for this.
    My question:
    I use an WinAPI function, and pass a Structure into the function.
    Calling of this function turning in "While" cycle, for example:
    public void getData() {
        MyStructure structure = new MyStructure();
        anWinAPI_Function(structure);
        Form.jLabel1.setText("use some data from this structure: " + structure.Data);
    }All code work's as well, but i have a memory leak by using structure (by creating a new MyStructure());
    I really know that, becose if use an int[] there is no memory leak, but i have too many WinAPI functions and can't use this way.
    Methods clear() and finalize() don't give th effect.
    Sorry for my english, hope that somebody can help me, thank's =)

    scream3r wrote:
    All code work's as well, but i have a memory leak by using structure (by creating a new MyStructure());Presumably this really is java code. As such the following are the only possibilities
    1. You do not have a memory leak. You are misreading a tool (probably task manager) and assuming a leak exists when it doesn't.
    2. You need to call something either on MyStructure or by passing it to another class to free it. See the documentation.
    3. The leak is caused by something else.

  • Secd Process Memory Leak

    Finding the secd process using 13GB of RAM was a bit of a shock. Watching its RAM consumption continue to increase, indicates a memory leak. Is this something anyone else has noticed? And any possible solutions?

    Thanks - I think this helped, but will give it a day or two to see what happens.
    My secd was over 32 GB the other day and the iMac wasn't quite its usual self. After restarting, secd's memory usage dropped away, but has been steadily creeping up over the last couple of days and was over 5GB this morning. So I tried dragging the Keychains folder to the trash and restarting.
    The thing about dragging your keychain to the trash and restarting is, on logging back in you may be asked for a pile of passwords to all your mail accounts and your keychain will be empty!
    I filled out all the requests for icloud passwords, but for the keychain to update properly, this took a while. I think what saved me from panicking about losing all my passwords, was going into System Preferences and signing into iCloud there. I was also requested to verify my iCloud login from another device (e.g., iPAD). I think this is what restored my keychain from the cloud.
    Once the keychain had updated itself, I restarted the iMac again, and Mail returned to normal (no more requests for mail account passwords).
    The only thing that wasn't restored after restarting was automatic keychain access to my time machine. I had to enter the password and save it to the keychain.

  • Memory leak 2

    i have a super simple java test applet. it does nothing but generate a memory leak. maybe im doning something wrong.
    the interesting thing is that i only have to comment out the code that adds the JScrollPane object to the contentPane of the JApplet. and this class will then finalize.
    here is the test applet
    package com.hobart.scale.test;
    import java.awt.*;
    import javax.swing.*;
    public class TestApplet extends JApplet
         /*                             PUBLIC MEMBERS                             */
         public TestApplet()
            System.out.println("TestApplet:constructor ...");
         /*                         APPLET PUBLIC MEMBERS                          */
         //Initialize the applet
         public void init()
            System.out.println("TestApplet:Initializing ...");
             Container cont = getContentPane();                                                            // get the container to hold it all                                                       
             cont.setLayout( new BorderLayout() );                                             // define the layout used for this applet               
              cont.add(new JScrollPane(), "Center" );
         //Start the applet
         public void start()
            System.out.println("TestApplet:Initializing ...");
         //Stop the applet
         public void stop()
            System.out.println("TestApplet:Stopped ...");
         //Destroy the applet
         public void destroy()
              Container cont = getContentPane();
              cont.removeAll();
              removeAll();
            System.out.println("TestApplet:Destroying ...");
        public void finalize() throws Throwable  {
            System.out.println("finalize ListFonts.java");
              super.finalize();
         /*                         PUBLIC STATIC MEMBERS                          */
         public static void main(String[] args)
            System.out.println("TestApplet:main ...");
         /*                      PUBLIC STATIC FINAL MEMBERS                       */
         /*                            PRIVATE MEMBERS                             */
    }

    why should it create a memory leak?

  • Z77 G45 Gaming - Memory leak (Non-paged pool)

    Good day MSI forum.
    I recently bought this motherboard of yours, and it's working great. As the title says, I am having a memory leak of some sort. I've been doing all kinds of googeling, using poolmon trying to locate the error and so on, but I am not educated enough in this area to know what I am really doing!
    What me and my frined managed to find out so far:
    1. When I download something, or when I upload youtube with max pixels (more upload then), the non-paged pool meter just rises as if he was to climb the mount everest!
    2. When I disabeled the Killer 2200 driver, (killed the EXE file in my task manager) the memory started to leak A LOT slower.
    3. Over the course of 24 hours with no downloading, just youtube music streaming and online games being ran, it can leak up to 1000mb. (While downloading it does 1000mb in 1 hour). It was basically the same speed of my download - 1MB downloaded > 1 MB leaked - so in conclusion it has to do with the network (and here's the problem, I don't know what might cause this).
    Now I am not completely sure that the driver/download is what is causing the memory leak, it might be something that I don't know of. I am not a pro in this matter, so I ask of help!
    Thank you in advance,
    Orlaw.

    Hi,
    Please check the following article for troubleshooting:
    http://support.microsoft.com/kb/q177415/en-us
    Regards.
    Vivian Wang

  • I use my mac book to dj. however, i tend to get the beach ball alot. is this due to lack of memory or is it something else. ive been thinking about getting more memory but i am not sure what the issue is

    I use my mac book to dj. however, i tend to get the beach ball alot. is this due to lack of memory or is it something else. ive been thinking about getting more memory but i am not sure what the issue is...i would like some advice before i go and buy more memory if it is not needed... i also do not keep my music on my lap top

    Okay, so we've eliminated the lack of space since you have plenty.
    See the screenshot from my Mac here:
    Page ins and page outs - post those (or just post the same type of screenshot). If you have a lot of those, that means that your machine needs to keep swapping RAM around to make the best of what is available which can result in slow responses.
    Also post the total amount of RAM you have (in my case, I have 12 GB)
    You free RAM of 221 MB is very, very low - I'm guessing you only have a total of 2 GB. If that is the case, I would absolutely max out the machine (if you don't know how much RAM you can put in, post your model number here so we can help with that).

  • Allocated memory pool was not deleted! 1 GB memory leak is too much for me!

    Dear Sirs. I found that DB environment, that was configured to use 1 GB cache size, won't free it when closed! Why? First I tried to open and close environment and got the following:
    Detected memory leaks!
    Dumping objects ->
    {596} normal block at 0x01970040, 1048596 bytes long.
    Data: < > 14 00 10 00 DB DB DB DB 0B 00 10 00 01 00 00 00
    {578} normal block at 0x00397978, 464 bytes long.
    Data: < > D0 01 00 00 DB DB DB DB C7 01 00 00 01 00 00 00
    Object dump complete.
    I have and idea that BDB will reuse the memory, rite? OK, let's try to create the same environment and open it. After environment was opened, closed, opened again and again closed, I got the following:
    Detected memory leaks!
    Dumping objects ->
    {3663} normal block at 0x01B80040, 1048596 bytes long.
    Data: < > 14 00 10 00 DB DB DB DB 0B 00 10 00 01 00 00 00
    {3645} normal block at 0x00396E60, 464 bytes long.
    Data: < > D0 01 00 00 DB DB DB DB C7 01 00 00 01 00 00 00
    {596} normal block at 0x01970040, 1048596 bytes long.
    Data: < > 14 00 10 00 DB DB DB DB 0B 00 10 00 01 00 00 00
    {578} normal block at 0x00397978, 464 bytes long.
    Data: < > D0 01 00 00 DB DB DB DB C7 01 00 00 01 00 00 00
    Object dump complete.
    So memory was not reused, nor deallocated.
    By the way, you may be interested in other leak I found, but fixed, see
    Replication manager memory leak when setting local site information.
    This leak is more serious, I am not sure I will fix it quickly. Maybe I'm doing something wrong? Could you please suggest something?
    Thanks in advance!
    With regards,
    Vladislav.

    OK, the problem solved by fixing code in file 'log.c', method '__log_dbenv_refresh'.
    Just added the code that deallocates memory of bulk buffer.
    if (IS_ENV_REPLICATED(dbenv))
    if (lp->bulk_buf != INVALID_ROFF)
    __db_shalloc_free(&dblp->reginfo, lp->bulk_buf);
    lp->bulk_buf = INVALID_ROFF;
    lp->bulk_len = 0;
    lp->bulk_off = 0;
    It was allocated in the '__log_open' function, by the following code:
              lp->ready_lsn = lp->lsn;
              if (IS_ENV_REPLICATED(dbenv)) {
                   if ((ret = __db_shalloc(&dblp->reginfo, MEGABYTE, 0,
                   &bulk)) != 0)
                        goto err;
                   lp->bulk_buf = R_OFFSET(&dblp->reginfo, bulk);
                   lp->bulk_len = MEGABYTE;
                   lp->bulk_off = 0;
              } else {
                   lp->bulk_buf = INVALID_ROFF;
                   lp->bulk_len = 0;
                   lp->bulk_off = 0;
    Sorry for time taken to read my posts, I was really needy in quick help, but solved problems myself.

  • APEX 4.1.1 Memory Leak in IE7

    Hi,
    We busy upgrading our apex and db from 3.0/10G to 4.1.1/11.2G and notice that there appears to be a memory leak when using APEX. At one stage we have had IE7 using over a gig of memory.
    When you load or refresh your page IE7 seems to grab on average 2-5MB of memory for each page load. At first we thought it may have been our apps or setup but this also happens when we go to app 4550 page 1 on apex.oracle.com.
    How to replicate:
    Open task manager to view the Memory Usage.
    Using IE7
    1. Go to http://apex.oracle.com/pls/apex/f?p=4550:1
    2. Go back to Task Manager and note the readings once the CPU Usage for iexplore.exe has stablised to 0.
    3. go back to IE7 and press F5
    4. Repeat steps 2-3 and you will see the Memory usage increases.
    We think this maybe due to a few jQuery UI memory leaks within IE7 and thought this bug ticket maybe of interest http://bugs.jqueryui.com/ticket/7666 (Slightly different versions but similiar experiences)
    Could someone else confirm that they also experience the increasing or have had similiar problems and managed to resolve it?
    TBH, it wouldn't be an issue to use another browser like Firefox to access the builder but this also affects the applications if they include APEX standard Javascript and CSS.
    Thanking you in advance.
    Alistair
    Edited by: Alistair Laing on Jun 16, 2012 2:32 PM
    Added Tags

    Alistair Laing wrote:
    Hi,
    We busy upgrading our apex and db from 3.0/10G to 4.1.1/11.2G and notice that there appears to be a memory leak when using APEX. At one stage we have had IE7 using over a gig of memory.
    When you load or refresh your page IE7 seems to grab on average 2-5MB of memory for each page load. At first we thought it may have been our apps or setup but this also happens when we go to app 4550 page 1 on apex.oracle.com.
    How to replicate:
    Open task manager to view the Memory Usage.
    Using IE7
    1. Go to http://apex.oracle.com/pls/apex/f?p=4550:1
    2. Go back to Task Manager and note the readings once the CPU Usage for iexplore.exe has stablised to 0.
    3. go back to IE7 and press F5
    4. Repeat steps 2-3 and you will see the Memory usage increases.
    We think this maybe due to a few jQuery UI memory leaks within IE7 and thought this bug ticket maybe of interest http://bugs.jqueryui.com/ticket/7666 (Slightly different versions but similiar experiences)
    Could someone else confirm that they also experience the increasing or have had similiar problems and managed to resolve it?Anecdotally, yes. Don't have exact steps for replication or precise numbers, but I have noticed this in passing. On the junk that my client considers a PC suitable for web development the typical IE7 memory footprint with the APEX 3.0 builder and several other tabs running is about 52MB. Add APEX 4.1.1 and it climbs constantly until I have to pull the plug when it gets north of 150MB as the PC can't take it.
    As well that I also have Firefox and 4.1.1 is still experimental at that site...
    At the moment I don't have to resolve it and if I did the only option I'd propose is the replacement of IE7.
    VC wrote:
    Look at this http://www.bbc.co.uk/news/technology-18440979
    Alistair Laing wrote:lol @ VC - I dont shop online at work :-D
    I saw that eariler this week. I do agree with the concept though.So take appropriate action: charge extra for IE7 support.
    The amount of work and effort involved in making our website look normal on IE7 equalled the combined time of designing for Chrome, Safari and Firefox.Is entirely accurate. If it's stated as a requirement, itemise it as an extra on the quote.
    Educate management and bean counters: show them the one line of standards-compliant CSS that's all that is necessary in Safari, Chrome, Firefox and Opera (and just possibly in IE8/9/10), how it isn't supported in IE7, and the tortuous hacks and workarounds that are required to get something equivalent working there.

  • HTTPService + XML Load + Memory Leak

    Hi all....
    I have noticed a memory leak in my application. This leak was
    not apparent when the application was completed some months back
    which is what left me a little confused as all I have done since
    was upgrade to Flex 3 and possibly updated / changed my Flash
    player.
    I think I have found the cause to this problem (below) but am
    not 100% sure that it is the "actual" problem or any reasons to
    back my thoughts up, so have listed what I have checked / tried
    along the way (maybe I have missed something)....
    My Discovery Process:
    I started profiling my application but did not find anything
    out of the ordinary. I did a code walk-through double checking I
    had cleaned up after myself, removing and even nulling all items
    etc but still to now success - the leak is still there.
    I have profiled the app in the profiler for reasonably long
    periods of time.
    All the classes etc being used within the app are consistent
    in size and instance amount and there is no sign of any apparent
    leak.
    I am using a HTTPService that is loading XML data which I am
    refreshing every 5 seconds. On this 5 second data refresh some
    class instances are incremented but are restored to the expected
    amount after a GC has occurred. The GC seems to take longer, the
    longer the app is running, therefore more and more instances are
    being added to the app, but when the GC eventually runs it "seems"
    to clear these instances to the expected amount.
    After scratching my head for a while I decided to make a copy
    of my application, rip everything out, and focus in my data load,
    where I found a problem!
    I have now just a HTTPService that loads an XML file every 5
    seconds, and this is all I currently have in the app (as I ripped
    the rest of the code out), e.g:
    Code:
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    ....... creationComplete="initApp()" >
    <mx:HTTPService
    id="httpServiceResults"
    url="
    http://myIP:myPort/myRoot/myXML.cfm"
    resultFormat="e4x"
    result="httpResultHandler(event)" />
    <script....... >
    private var timerPulse:Timer;
    private function initApp():void
    httpServiceResults.send();
    timerPulse = new Timer(5000, 0);
    private function httpResultHandler(event:ResultEvent):void
    timerPulse.start();
    timerPulse.addEventListener(TimerEvent.TIMER, timerRefresh);
    public function timerRefresh(eventObj:TimerEvent):void
    timerPulse.stop();
    timerPulse.removeEventListener(TimerEvent.TIMER,
    timerRefresh);
    timerPulse.reset();
    httpServiceResults.send();
    </script>
    </mx:Application>
    This is pretty much the code I am currently using and it
    leaks.
    I ran and monitored this in both the profiler and the
    activity / task manager, and after running the app for 1800 seconds
    (30 min) in the profiler, the memory size grew from 50mg to 165mg
    just sending the HTTPService.
    I tried loading the service in multiple ways including in AS
    rather than MXML creating new instances of it each time, resetting
    it, nulling it etc... but nothing prevented this memory increase.
    I then tried to load the XML using different methods such as
    using the URLRequest and URLLoader which again caused a memory
    leak.
    What still confuses me is that this leak did not exist in the
    previous version and not a great deal has changed since then apart
    from upgrading to Flex 3 and possibly upgrading my Flash payer
    (which I believe is a possible cause)
    After looking into this issue a bit more deeply, I read a few
    blogs / forums and other people are experiencing the same problems
    - even with a lot bigger leaks in some cases all when reloading
    large sets of XML data into Flex - however, I as of yet found no
    solution to this leak - people with a similar problem believe it is
    not due to a memory leak more a GC error, and others pointing
    towards the Flash Player itself that is leaking - I don't really
    know.
    Findings so far during investigation of this issue:
    * App leaks for both HTTPService and ULRRequest / URLLoader
    methods
    * App only leaks when calling a data loader
    * The size of the leak seems to depend on the size of the
    XML being loaded
    * The size of the leak also seems to be affected by the
    applications heaviness - the greater seems to enhance the leak
    An interesting factor I have noticed is that if I copy the
    XML from my "myXML.cfm" that I link to in my HTTPService and copy
    the contents of the file into my own XML file stored within the
    Flex project root itself: ""myXML.xml"" the leak disappears... like
    it seems to link when loading the XML over a network, however as my
    network knowledge is not great I am not sure what to make of this -
    any ideas???
    Could the connection to the XML document cause leaks??? is
    there anything else that could cause this leak??? have I something
    in my code sample that could cause this leak??? or could any of the
    other things I have mentioed cause this leak???
    Any help / ideas would be greatly appreciated.
    Thanks,
    Jon.

    I also observed heavy memory leak from using httpservice with
    XML data. I am using Flex3 builder under Linux. My Flex application
    polls httpservice every 10 seconds. The reply is a short XML
    message less than 100 bytes. This simple polling will consume 30+
    MB of memory every hour. I leave it idling for several hours and it
    took 200 MB of memory. No sign of garbage collection at all.

  • ITunes 6.0.4(3) memory leak

    I know this topic has popped up on the Windows forum, but I'd like to officially document the same problem in iTunes for OSX.
    Using the iStat Nano widget, I've been monitoring my memory usage when running iTunes. When I first start the program, memory usage jumps to 600 MB. The longer iTunes is open, the more and more memory disappears, whether I'm actively using the program or not (i.e. listening to music). Eventually, this causes a hard crash. By hard crash I mean that I must use the on/off button to reboot the machine. I have had this problem since getting my computer (in mid-March), so there has been at least one iTunes update since then that has not fixed this issue. (I have a previous post on this topic called "iTunes freezing" that was made before I realized that it was caused by a memory leak.)
    I am very, very pleased with my MacBook Pro and I realize that this is not a hardware issue. Has anyone else encountered this problem? Are there any plans to fix it in a future update?
    Thanks in advance for any comments, suggestions, or solutions!
    2.16GHz 15.4" MacBook Pro, 2GB RAM   Mac OS X (10.4.6)   4G 40GB Photo iPod, 5G 2GB nano

    I posted a question this evening on what sounds like the same issue: the link is here:
    http://discussions.apple.com/thread.jspa?threadID=548752
    I think your original post makes clear that this issue is about iTunes itself, it's not about any devices or iPods, not is it to do with the Intel or non-Intel processors... I will try looking at the Memory stats too.
    What baffles me is that I had been using iTunes 6 for quite a long time (and only updating it manually, not automatically) before I ever experienced this.
    My hunch (but what do I know?) is that my initial freeze might have happened for some other reason (too many applications working hard at once, as sometimes happens -- though I have had this happen reasonably often on the PowerBook it is extremely rare on the G5) -- and then in the course of that freeze / crash something in iTunes got corrupted (perhaps the database file that allows iTunes to navigate the iTunes library?)
    By the way, what is the technical name for the total freeze thing (i.e. no beachballs, just complete loss of the mouse and keyboard response, clock stops, no shortcuts working, only PowerButton allows you to shut down).
    Has anyone with this issue tried uninstalling iTunes (by Trashing the App) and reinstalling from a newly-downloaded copy? (I might try that ...)
    PowerMac G5 Dual 1.8GHz, PowerBook G4 12" 1.33GHz   Mac OS X (10.4.5)  
    PowerMac G5 Dual 1.8GHz, PowerBook G4 12" 1.33GHz   Mac OS X (10.4.5)  
    PowerMac G5 Dual 1.8GHz, PowerBook G4 12" 1.33GHz   Mac OS X (10.4.5)  
    PowerMac G5 Dual 1.8GHz, PowerBook G4 12" 1.33GHz   Mac OS X (10.4.5)  
    PowerMac G5 Dual 1.8GHz, PowerBook G4 12" 1.33GHz   Mac OS X (10.4.5)  

  • Memory Leak in 10.4.7

    Question for all you Mac "Guru's" out there. I have an Imac (intel) with 2 512MB Memory Sticks and Have Noticed that there appears to be a memory leak in the OS. After several staggering hours It seems that the culprit is WindowServer and kernal_task. I have seen the WindowServer process Real Memory increase a couple of Kbytes every 3-4 seconds. My kernal_task seems to always be the process using the most memory of all.
    After a fresh restart Kernal_task is using about 40MB and windowserver about 20MB. now if I let it sit for just a few hours those numbers almost double. I admit it could be something else, but i don't think so since i sit and stare at my activity monitor and nothing seems to change except for those 2 processes. Anybody else notice this at all?
    I asked the snob at the Genius bar in the Chandler, AZ Apple store and he suggested to try re-seating the memory sticks and I have with no change. I have even done a fresh install of OS X and the updates to 10.4.7. I have noticed the problem since 10.4.5.
    Any help would be greatly appreciated!
    I don't have a lot of 3rd party software except for Firefox and thunderbird. All the apps that i use are Universal Binary with the exception of Quicken that came with my iMac.
    Thanks
    17" inch Intel Imac   Mac OS X (10.4.4)  

    On mdc open terminal and goto;
    /Library/Filesystems/Xsan/bin
    run as root
    cvfsck -j <selectyourvolume>
    to make sure journal is written out to volume
    then run
    cvfsck <selectyourvolume> until no errors are reported
    you can run it with -n option the first time to make sure you do only a readonly check (no modification, hence the FS will not be fixed)

  • Memory leak using CWGraph

    I have a memory leak problem using the CWGraph control.
    I have an SDI application (MFC using Measurement Studio) and I generate dynamicaly a dialog containing a 2D Graph, and I use the OnTimer() of the dialog to generate data and to update the graph, with a timer of 50ms. In OnTimer() function I have a loop to generate
    and to update two plots on the graph. When I call a method of the graph (for example for changing the color of the plot or for updating a plot (using PlotXvsY)), I have a periodic increasing of memory with a fixed amount of memory (4k). In the same OnTimer() function I update also some CWSlide controls without memory leaks.
    If I comment the line that call a method of graph
    (ex. m_Graph.Plots.Item(1)....), the code works wi
    thout memory leaks.
    I'll apreciate any suggestion about this problem.

    I had the same memory leak problem with my program as well. I do not think it is because of using CWGraph. Memory leaks occur when you allocate memory and did not free them. The problem will accumulate and crashed randomly (sometime it crashed when you just move mouse around). Try this: if the program does not crash (memory leak crash) on the first time it compiles and runs, it is probable has nothing to do with the CWGraph. On the second and third run, if you did not free variable, the program will usually crashed. If your program crashed on the first time it runs, the problem might be something else.

Maybe you are looking for