Skip to main content
Participating Frequently
February 1, 2008
Question

There is not enough free memory to load the entire file

  • February 1, 2008
  • 16 replies
  • 3693 views
I saw an older reference to this error in a previous post which apparently got resolved, but didn't explain precisely how it got resolved:
Michael Kitzmiller, "There is not enough free memory to load the entire file" #, 27 Jul 2007 5:23 am

I presume that one answer is to rebuild the document from scratch, changing imported images to referenced images. But I want to recover the file as I put hours of work into it and expected that anything I can save that I also should be able to read back in. I will certainly change to referenced images, but I have to be able to open it first.

thank you
    This topic has been closed for replies.

    16 replies

    Participating Frequently
    August 26, 2008
    I agree. I started over from scratch and am very careful to only use references to image files, and never try to load an image (i.e. copy) directly into the document. I also use the book feature and keep file sizes small. However, I still cringe when I save/close and then re-open a FM file, hoping not to see the dreaded error message.
    DrDaveJ
    Inspiring
    August 25, 2008
    Just a quick note to say this issue is neither dead nor solved. I am still waiting for my Customer to return and be available for troubleshooting.
    Dave
    DrDaveJ
    Inspiring
    August 4, 2008
    Sheila, thanks for responding! Unfortunately, the Writer that owns this file is not available for a week or more now. I sent an email asking for the following info, in case any of it is either known, or helps at all.
    1) How many Graphics are in the file? 5 or 7? More than 10?
    2) How many pages?
    3) Does the file contain graphics that are 'copy into document' instead of 'import by reference'?
    4) Does the file open on SOME pc's but not others?
    5) What Frame Version is the file?
    6) Who is the Building Tech working on this?

    A question for you guys out here:
    Is there a way to look into the "header" data for this file? (I think I got this idea from a thread here, but cannot find it again to see if there is an answer).
    My thinking is, I could hack that file, change a data point somewhere, then FM will open it again.

    btw: We are running WinXP Pro (SP2), and FM 7.0p579.

    Thanks.
    Dave
    August 2, 2008
    Yup, we're mostly still here; it's the summer doldrums.

    Just grasping at straws, but maybe the file wasn't saved 100% correctly last time it was written to disk, e.g. maybe there was some slight video memory glitch that wasn't enough to crash FM but it was enough to trash the written file.

    I wonder if there's any chance that one of the batch file apps might open it and save it as MIF without hitting "the wall" with whatever's gone wrong.

    You might check out DZBatcher at http://www.datazone.com (don't pay too much attention to the somewhat dire-sounding warnings, but ALWAYS test only when backup copies of the problem file are safely stowed, of course) or doBatch or OmSys's RunFM, links found here in the helpful Leximation tool list: http://www.leximation.com/framemaker_automation.php
    DrDaveJ
    Inspiring
    August 1, 2008
    I hope this Forum is still being seen.
    I was just presented this issue and have never seen it before.

    Other files, as much as four times larger than the trouble one, open just fine.
    Someone mentioned the idea that the file is loaded with embedded graphics. That is known to be true in this case.
    Since the graphics are not unusually smaller than any other graphics - such as the ones in the much larger file that works - I am also wondering why the trouble file appears to be a small size. It's corrupted? The header data mentioned by WebHubble is at issue? Can we hack that in hopes of tricking FM into opening it?

    By the way, the large file that works has many graphics, but they are import by reference. So, there you go.

    Regards,
    Dave
    Participating Frequently
    February 4, 2008
    How large is this file ?

    Last option is to pay Adobe for tech support, they just may have a work around for a file that is as large as you say.
    Participating Frequently
    February 2, 2008
    Thanks, but "Esc o shift+H" did not work either.
    Participating Frequently
    February 2, 2008
    Thanks everyone, I have tried all the possibilities including a disk defrag and closing all other active programs. The fact that the FM document loader knows that the file is too big within a tenth of a second after opening tells me that the magic header might have some enormous value for reported file size. You would think that it would struggle to try to open it and use disk cache if possible. Yet, it gives up almost immediately. This has to be a corrupt file. I will go back to an older backup file and start over.
    Known Participant
    February 2, 2008
    I'm not sure anyone has mentioned this:
    Start FM and open any small FM file that doesn't give you any problems.
    Then type "Esc o shift+H" (press and release Esc, press and release
    lower-case o, press and release upper-case H).
    Then select your troublesome file and see if it can be opened.
    If it can, you MUST immediately save it to another filename!

    This is the (almost) undocumented "Open Heroic" command that tries
    to open files in a different manner than normal. It can only be
    invoked if another file is already open in FM.

    --
    /Thomas Michanek
    February 1, 2008
    Good catch, Sherman, you're right, graphic display on/off is a document property (for the record, in MIF, it's DGraphicsOff=Y/N)
    Participating Frequently
    February 1, 2008
    Sheila-To turn off the view graphics, you must first be able to open the file. Looked through the maker.ini file and I don't see anything to turn off the graphic display. Maybe some one else may.

    WebHubbleTelescope- Is your document one file or files? If you have individual files, have you tried opening one at a time?

    Because you embedded your graphics there is a way to still use the embedded graphics without starting over, but it require some work and you must be able to open the file. Start with the first graphic in the file open and click on the graphic. Use the Ctrl+c to copy it to the clip board. open paint or any other graphic program you use, and do a Ctrl+v to paste the graphics in your grapic program. Do as Save As or Export and save to either a Jpeg, BMP or png in an art folder you must create with the documents in question. Go back to your open FrameMaker document, delete the embedded graphic within the frame, the do a File>import. Locate the new file and click Import (make sure you have Import by Reference radio button selected. Select the dpi and click Set. Resize the imported grapic as needed. You must repeat these procedures for all graphics in your file. Make sure you do a save on a regular bases till you finish. Close the file and reopen, you should no longer have a problem with this one being too big.