Skip navigation
Currently Being Moderated

Re: InDesign CS5 Out of memory error on a new imac with 16GB RAM

Mar 7, 2012 4:40 PM

I have iMac 16GB ram. I get the out of memory reasonably often. I have font management, mainly Adobe apps open and Word. I work with magazines, so around 36 - 48 pages. Save As doesn't do anything for this problem (yes it is a good practice and it is good to regularly do this). Saving to InDesign Markup doesn't alleviate this problem. Also it doesn't seem changing preferences for Live Screen Drawing works. I find mine has got worse since installing Lion, but I have also had this problem since CS5 - I can't remember if it happened in CS4. Currently I have 4GB RAM spare but InDesign thinks otherwise. It drives me mad. Keep complaining and please Adobe do something about this one, there are a number of people complaining.
By the way anyone that solves this problem on the forum should get a prize from Adobe.

Branched from an earlier discussion.
 
Replies
  • John Hawkinson
    5,572 posts
    Jun 25, 2009
    Currently Being Moderated
    Mar 7, 2012 4:32 PM   in reply to Ketrinz

    (would someone care to branch this thread?)

    Ketrinz:

      Do you have a reproducible test case? That's a great thing to have. It sonuds like happens often to you.

    You don't specify what version you're using; please do be explicit -- hold down Command and select About InDesign and you'll get four decimal digits. Also, how often is "reasonably often"? How many times/day during what sort of work?

     

    16GB of RAM isn't directly helpful. Because InDesign is a 32-bit application, it can never use more than 4GB of RAM.

     

    Ironically (for me), we have been seeing a similar problem infrequently, I think three instances this calendar year. It has been difficult to track down, and I haven't been able to get good information from Adobe Developer Support on how to track down the memory usage of different parts of InDesign, somewhat to my frustration.

     

    When you next encounter this, in addition to the summary information from Activity Monitor I ask for above, you can try opening Terminal.app and enter: vmmap -wide "Adobe InDesign"

    Save the output and upload it to http://pastebin.com/ and post a link here. It may help to give us some idea of what is going on (but it may not).

     

    What Font Management software are you using? Does any of it use InDesign plugins? Can you try temporarily disabling those plugins?

     

    I assume you've not discused the problem with Adobe Support?

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 7, 2012 6:15 PM   in reply to Ketrinz

    I used to have a lot of similar problems when creating documents with lots of text and large images - similar to a magazine. I managed to speed up InD by turning off the 'Live Preflight' which helped significantly. Any live spell checking etc can also slow it down.

     

    Are you placing the images at actual size or are you bringing in larger images and then scaling down inside InD? This can seriously affect the size of the InD file and will lead to it 'running out of memory' as it tries to render the content - especially if you view in High Quality Display.

     
    |
    Mark as:
  • John Hawkinson
    5,572 posts
    Jun 25, 2009
    Currently Being Moderated
    Mar 7, 2012 10:55 PM   in reply to Ketrinz

    Weird, somehow I didn't get the email notifications for this thread.

    Today I am having so much trouble, at least 10 messages, tried quitting InDesign no joy. I have just rebooted, so we will see how it goes. I wonder if there is a correlation between the background tasks i.e. creating a PDF, that happened today as well.

    That certainly seems plausible.

    I'm not totally sure what the status of all those PDF export hang -related problems is. I think there are still some known issues in 7.0.4.553 that we hope will see future fixes.

     

    When you say:

    IND just hung again when trying to create a PDF. Stopping the background tasks never works - so it is a force quit. Will let you know if it goes out of memory again.

    I assume you mean that InDesign as a whole was not hung, merely the PDF creation background task?

    In any event, probably the first step is to disabe background PDF exports per http://indesignsecrets.com/a-new-workaround-for-that-pesky-background- export-issue.php.

    Next, if you continue to encounter such problems, fire up Activity Monitor and select InDesign.

    First run Sample Process and save the output.

    Next, instead of Force Quitting, use View > Send SIgnal: Abort (SIGABRT). You'll get a crash report.

    Upload both the sample output and the crash report to http://pastebin.com/ and post the links here.

     

    Just to be clear, the OS can use the 16GB, so it is not valueless. That extra RAM can help ensure that other apps do not contend with ID for memory and improve performance. But it won't help keep ID from running out of memory...

     

    Generally speaking ID should never need more than 4GB. If it does, something is wrong. Obviously something is wrong here.

     
    |
    Mark as:
  • John Hawkinson
    5,572 posts
    Jun 25, 2009
    Currently Being Moderated
    Mar 8, 2012 1:08 PM   in reply to Ketrinz

    Thanks so much John - didn't know about disabling background tasks. That is now done. I did get an out of memory message straight afterwards

    Did you restart InDesign after doing disabling background exports and before getting the memory message?

     

    but went into Terminal and pasted info but did not work. Was on my way out and in a hurry, so probably me.

    Huh. Well, please do feel free to try it anytime InDesign is running even when it's not broken. The details of the output won't be interesting to me, but if it fails to give you a few pages of output, hopefully it will give you an error message you can post here.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 14, 2012 2:25 AM   in reply to Ketrinz

    Hi Guys, I've also started having this problem, but I've found out something that you might have missed.

     

    It's not system memory that it's out of, it's video memory.

     

    I've got iStat menus installed and one of the handy statistics that this displays is the GPU's memory usage, every time I got this error the GPU memory usage was full.

     

    Unfortunately it doesn't tell you what is using the video memory, but I don't think it's specifically an Indesign problem, as the GPU usage is rather high just sat idling at desktop. Something in the system is either leaking memory, or not freeing it up once it's no longer needed.

     
    |
    Mark as:
  • John Hawkinson
    5,572 posts
    Jun 25, 2009
    Currently Being Moderated
    Mar 14, 2012 6:26 AM   in reply to DeM0B

    DeM0B: Interesting, can you include a screenshot?

    I am a bit skeptical, because my understanding is that InDesign makes no use of the GPU. This understanding comes with a 75% confidence factor, so it could easily be wrong.

     

    I know very little about GPU instrumentation, though. But surely this will depend on your GPU. So what GPU, what graphics card, and perhaps most importantly, how much VRAM?

     

    Also, what other potential GPU-using apps are running simultaneously? Photoshop, Premiere Pro, Final Cut, CAD software, etc.?

     

    These are questions for both Ketrinz and DeM0B.

     
    |
    Mark as:
  • John Hawkinson
    5,572 posts
    Jun 25, 2009
    Currently Being Moderated
    Mar 14, 2012 1:25 PM   in reply to Ketrinz

    Note that the GPU theory is really just a theory. It might not be born out. We'll have to see.

     

    I am keeping more of an eye on my memory at the moment. Just a question re Activity Monitor: if I am low on the Free memory Green, does the Inactive memory Blue kick in. My understanding is that Inactive memory is for recent tasks that they can kick into this area again and re-establish the currently used memory. So far so good though - no out of memory issues.

    Honestly, I doubt that it is important to keep an eye on system memory. I guess I wasn't quite so clear in my post from March 7th. InDesign's out-of-memory error here does not mean that that the operating system does not have sufficient memory to allocate to InDesign. Even if all your RAM showed up as Yellow/Red ("Active" and "Wired") in the Activity Monitor pie-chart, then running InDesign would cause the operating system to page out some other application to disk, freeing up the memory. This paging operation might be somewhat slow (seconds), and if that other app is actively trying to do something, you might encounter performance thrashing as a program is continuously being paged to disk and then paged back in to execute, over and over. But this will result in a significant performance penalty coupled with a lot of disk activity. (and the Page ins and Page outs fields next to the pie chart would show this). It would not result in an Out of Memory condition.

     

    The InDesign out-of-memory error is indicating some inability of InDesign to handle all the demands it has for the 4GB of RAM that is has to itself. Possibly related to mismanagement of that memory or reference-counting bugs. It is also possible that it relates to VRAM, but I don't think that is particularly likely. But I am certainly not an expert on the GPU memory subsystem in OS X.

     

    To answer your question though, yes, the Inactive designator is for programs that are candidates to be paged out because they are not using their memory actively.

     
    |
    Mark as:
  • John Hawkinson
    5,572 posts
    Jun 25, 2009
    Currently Being Moderated
    Mar 14, 2012 2:11 PM   in reply to Ketrinz

    Ketrinz:

    Thanks John that makes it clearer. Must try VRAM again - it didn't want to work properly the other day. Only gave one beep and I got sick of holding keys after a couple of minutes.

    Sorry, what? VRAM? Beeps? Holding keys?

    I don't understand and didn't recommend any of these things.

    I asked you to open Terminal.app and paste in a particular "vmmap" command. No holding keys, no beeps.

     
    |
    Mark as:
  • John Hawkinson
    5,572 posts
    Jun 25, 2009
    Currently Being Moderated
    Mar 14, 2012 2:53 PM   in reply to Ketrinz

    It's all good John - just something we used to do years ago - resetting PRAM. Hold Command Option PR on reset. You get three beeps and then let go. This was just part of our housekeeping from years ago. It was just mentioned in the previous post. Apparently it is still good to do it approx monthly, don't know exactly what it clears out. I don't understand the techo stuff too much. I remember what you said with terminal and I will do that if I continue to have probs. Thanks again.

    Err, no. We were talking about VRAM, or "Video RAM" or "Video memory." It has nothing to do with the PRAM.

     

    Cmd-Option-PR resets the PRAM, or Programmable RAM (basically the same as "NVRAM" or "non-volatile RAM"). It is in fact not a good idae to do it prophylactically, such as monthly. It will reset some settings, and potentially some you do not wish to reset, such as your clock (on some models), or your video card configuration. It's not terribly damaging, but I would not recommend it and it should have no effect whatsoever on InDesign. See http://support.apple.com/kb/ht1379 and the pages it links to.

     
    |
    Mark as:
  • Currently Being Moderated
    May 27, 2012 3:45 PM   in reply to Ketrinz

    It's crazy... I'm working on a catalog and I keep getting the out of memory message (Indesign V7.5). I wish Adobe would fix this in the next update. I also am still having packaging problems in Indesign using helvetivca. At this stage of CS5.5, I shouldn't have to go back to CS4 to get the job done. This is why I am hesitant to use Cloud for software - I need to go back to previous versions to complete my work. Has anyone found a solution yet?

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 6, 2012 6:29 PM   in reply to Ketrinz

    I have the same issue but disabling the background did not help. Still get out of memory and there is plenty there in both physical and GPU memory.

    Any further ideas?

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 6, 2012 6:48 PM   in reply to Ketrinz

    Sadly turing off the preflight was to no avail.

    Getting a failed to export the file now.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 7, 2012 6:14 AM   in reply to HAYMAN DESIGN

    @ HAYMAN DESIGN, are you patched to 7.0.4 (don't believe the update item in the help menu).

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 7, 2012 4:23 PM   in reply to Peter Spier

    7.5.3 CS 5.5

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 7, 2012 4:28 PM   in reply to HAYMAN DESIGN

    You should probbly start a new thread, just to avoid confusion, since 7.5.3 is CS5.5 (and the latest patch), not CS5, and the source of the problem is probably different.

     

    I'm afraid I don't have more to offer at the moment.

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 30, 2012 5:45 PM   in reply to Peter Spier

    Just started getting the out of memory running Indesign CS5. Been fine for at least 1 year with all CS apps running + rip, excel, 2 browsers. Granted I had a large file open but this never happen before. Turned off Photoshop and Illustrator but normally cannot work this way. Only thing new on my system is a free downloaded stop watch. Using the app to help with time management (Pomodoro System- like it so far) I turned that off and everything is back to normal. So yeah, must be a big resource hog. Could be some other background app running with some others experiencing this issue. Running Snow L with 4 G Ram

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)