• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CS5 "Not enough scratch memory available" error when there's plenty of it.

Community Beginner ,
Jul 07, 2010 Jul 07, 2010

Copy link to clipboard

Copied

Illustrator CS5 throws this error:

---------------------------
Adobe Save For Web AI Error
---------------------------
Could not complete this operation. There is not enough scratch memory available.
---------------------------
OK  
---------------------------

when trying to save for web. The content has a lot of linked images, around 1000x1000 px each, used with clipping masks, drop shadows and glows at 300dpi.

I realize that this might be hard to flatten for JPEG and I'd be fine with long processing times (which I get) but out of memory?.. Here's my config:

Illustrator CS5

Windows 7 x64 Ultimate

Intel Core i7 920

6GB RAM

Total pagefile size: 24GB.

Primary scratch disk - 155GB free.

Secondary scratch disk - 544GB free.

Those are all gigabytes, not megabytes, no mistake. There's NO WAY that there's not enough scratch memory available.

And this is how the process looks:

IllCS5process.png

Physical memory usage at this point is 62%, Commit charge - 15%.

Currently, I can work around this by making a screenshot of "Original" tab in Save for Web dialogue when it's there - because sometimes it's just a pink-filled window.

So, Adobe, any suggestions, please?

Views

40.9K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Jul 08, 2010 Jul 08, 2010
There's NO WAY that there's not enough scratch memory available.

There is, if it cannot create a temp file, which indeed is tied to the limitations for 32bit apps and in Save for Web cannot exceed 2GB, if I remember correctly. That's what it's telling you and this has absolutely nothing to do with your system swap file. A possible solution may be to manually flatten the file before exporting, but as pointed out by others, your workflow is not particulalrly sensible and effective to begin with and

...

Votes

Translate

Translate
Adobe
LEGEND ,
Jul 07, 2010 Jul 07, 2010

Copy link to clipboard

Copied

Sorry from what but you are wrong 24 GB file page size is immense for AI from what you describe I would think AI could not even open the file.

You're shooting for save for the web and exactly why do you need 300ppi images.

I would say Illustrator is working as design and if one considered you have very limited resources to work on such a huge file it would expected.

You simply do not have enough resources you need a very large and powerful RAID 0 for a scratch.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 07, 2010 Jul 07, 2010

Copy link to clipboard

Copied

I had the same issue with Photoshop CS3 working on a 300MB file.

My solution was to work with CS instead - no memory problems.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 08, 2010 Jul 08, 2010

Copy link to clipboard

Copied

This one here is around 40Mb.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 07, 2010 Jul 07, 2010

Copy link to clipboard

Copied

Wade,

I use Save for Web because I need previews to show to other people. Previews. I can't send .ai files to people after every little change. This is why I use Save for Web to quickly get a small JPEG that I can upload and share.

I never said I use 300dpi images. Images are 72 and higher, but not all of them are 300dpi. Besides, the workspace is the size of a letter sheet (~A4). Even if I did have all images in 300dpi it's not like I'm making a billboard.

I said I use 300dpi raster effects to ensure there's no pixelisation, which is critical in this case.

You saying 24GB swap file is not enough. Have you look at the screenshots? Illustrator uses 2GB of swap and 1.3GB of RAM. It's not even remotely close to running out of anything.

RAID0 is a stripped array that only offers speed. It can be same 150GB as I have. How does that make any difference? Besides, RAID0 is a disaster waiting to happen.

Sorry, but you just made no sense, Wade. This is clearly a bug or a design flaw. My only guess is that maybe the problem is that Illustrator is 32-bit application and somehow it prevents it from using more resources.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jul 07, 2010 Jul 07, 2010

Copy link to clipboard

Copied

Asmodeus,

Illustrator CS5 has some improvements to how Raster Effects are rendered on screen. So even if you use 72ppi DRES, you would see very little/no difference compared to 300ppi DRES - i.e., pixelization issues would be almost non-existent.

Could you try this out & come back with your findings?

Also if you just want to send something to other people for Previews, maybe a PDF with the 'Smallest File Size' Preset be good enough. These can be viewed with the (free) Adobe Reader.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 08, 2010 Jul 08, 2010

Copy link to clipboard

Copied

I tested resolutions from 72dpi to 240 and turned out that while 240 is fine, 150 wasn't enough and I could see blocking in blurs.

As I said earlier, PDFs are not the best option due to the way we share images.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 07, 2010 Jul 07, 2010

Copy link to clipboard

Copied

I think I will sit back on this and wait and see…

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 08, 2010 Jul 08, 2010

Copy link to clipboard

Copied

There's NO WAY that there's not enough scratch memory available.

There is, if it cannot create a temp file, which indeed is tied to the limitations for 32bit apps and in Save for Web cannot exceed 2GB, if I remember correctly. That's what it's telling you and this has absolutely nothing to do with your system swap file. A possible solution may be to manually flatten the file before exporting, but as pointed out by others, your workflow is not particulalrly sensible and effective to begin with and certainly doesn't fall withing what Save for Web was designed for in the first place. Saving PDFs may be much less troublesome. Also simply consider using Bridge to create derivatives of the actual AI files for review.

Mylenium

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 08, 2010 Jul 08, 2010

Copy link to clipboard

Copied

Thank you.

This is why I wonder why there's still no 64-bit Illustrator.

As for my workflow, I lowered raster effect resolution to 240 and it's no longer gives me an error, at least it hasn't been for now. Maybe 300dpi was pushing it just over the limit.

I really do prefer Save for Web because in this file I currently have 4 artboards and SfW allows me to save selected artboard into JPEG. Saving in PDF or just exporting in JPEG would require cropping before it's usable.

Anyway, thanks for confirming. Understanding the root cause of the issue definitely helps. I just wish Illustrator team would get into 2010 and make 64-bit version already.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 03, 2013 Jul 03, 2013

Copy link to clipboard

Copied

LATEST

CS6 supports 64-bit.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 06, 2010 Dec 06, 2010

Copy link to clipboard

Copied

OK, I just attempted to export an illustrator file to a layered PDF to follow the instructions Adobe staff have recommended as a workflow to create a 3D file from an illustrator file. The original file is 266K, and I'm working on a system with 32gb of memory, and I have a completely empty 2TB Barracuda drive that's currently serving as my scratch disk. I use this machine for editing massive videos, so it's got 1000 times the horsepower needed to process an Illustrator file. It needs to be a layered file and I'm otherwise using the default settings. I did, however, change the resolution from 300 to 150 and then to 72 dpi just to see if it would have an effect. Nothing.

I rebooted the system to clear up any memory errors. Nothing.

I created a whole new file just in case there's a legacy issue. Nothing.

I shut every application to avoid conficts and compatibility issues, and still nothing.

I'm running CS5 Master Collection on a really powerful machine, which I don't think is the issue, but just want to be clear that it's not due to lack of processing power, memory, scratch disks or anything else obvious. Any help would be much appreciated.

Just to be clear, my issue is not directly related to scratch memory - the error I get is "Not enough memory to save the file." I can't see that as being remotely possible.

Any help would be much appreciated.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 03, 2013 Jul 03, 2013

Copy link to clipboard

Copied

Solved: Clear temporary files ( Type %temp% in run and hit enter)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines