Sage 100 Error: "Not Enough Memory for Operation"
Sage 100 says "Not enough memory for operation" when you export a Crystal report to Excel — but it is not your RAM. The confirmed fix is the printer stored in the report.
Full error text:
Error : Not enough memory for operation
It appears when you export a Crystal report to Excel from inside Sage 100 — in the reported case a custom report of about 24 pages. The wording points at your computer's memory, and it is lying: the same report, exported from Crystal Reports outside Sage on the same machine, works fine. There is no memory setting inside Sage 100 to increase. In the confirmed case, the culprit is the printer stored inside the report file itself.
The fix
This fix is confirmed by the person who reported the problem — including the false start that made it look like it did not work:
- Completely shut down Sage 100 and Crystal Reports. Do not skip this: the first attempt at this fix failed because the report did not save correctly while the applications were still open.
- Open the Crystal report file (.rpt) in Crystal Reports Designer.
- Open File > Page Setup.
- Check the box labelled "No Printer".
- Save the report — and verify the save actually landed before you test.
- Reopen Sage 100 and export the report to Excel again.
Setting "No Printer" detaches the report from any specific printer, so the export no longer goes looking for a printer that may be invalid, offline, or gone — which is what stalls the export and produces the memory message (see Causes).
Causes / why this happens
- The printer assigned inside the report. A Crystal report stores a printer in its Page Setup. On export, Crystal tries to reach that printer. If it no longer exists, is offline, or cannot be reached, the process hangs until it gives up and reports "Not enough memory for operation." That mechanism is a contributor's reasoned explanation rather than a Sage-published cause — but it is the only explanation consistent with the confirmed fix, and removing the printer assignment is what cured it.
- It is not RAM, and it is not a Sage setting. The reporter's own test proves the first point: identical report, identical machine, export succeeds outside Sage. And there is no memory allocation setting in Sage 100 to tune — time spent hunting for one is wasted.
- A stale save masquerades as a failed fix. If the report does not actually save after you check "No Printer," the old printer assignment is still in the file and the error returns — which reads as "the fix doesn't work" when the fix was never applied.
Per-context variants
Exporting the Lot Serial Transaction History Report to CSV: the identical error string has a completely separate, Sage-documented occurrence. On Sage 100 2020 before Product Update 5, exporting that report to CSV produced "Not enough memory for operation." Sage fixed it in 2020 Product Update 5 (DevID 113189, Knowledgebase ID 112027). If your error is on that report and that format, the answer is the product update — the printer change above is not the documented remedy for it, and the two cases should not be conflated just because the message matches.
Exporting to the application instead of a file: one contributor's standing advice is to always export to Disk, never to Application. It did not resolve the reported case on its own, but it removes a whole class of hand-off failures between Crystal and Excel and is worth adopting as a habit.
What doesn't work
- Trying the other Excel export formats. The reporter tried the alternatives, including the data-only variants, and got the same error from every one. The format is not the problem.
- Checking that a Windows default printer exists. It did exist, set correctly, in the reported case — and the error persisted. A default printer on the PC does not cure a bad printer assignment stored inside the report.
- Adding RAM or looking for a Sage memory setting. The machine was never out of memory, and no such setting exists.
Affected versions
The reported Crystal-export case names no Sage 100 version; the cause lives in the report file's Page Setup, so it can occur on any version running custom Crystal reports. The separate CSV variant is scoped to Sage 100 2020 prior to Product Update 5, Lot Serial Transaction History Report only.
Prevention / best practice
- For custom reports that will be exported rather than printed, set "No Printer" in Page Setup when the report is created, so it never acquires a workstation-specific printer assignment.
- When a report is copied from another site or an old workstation, check its Page Setup printer before distributing it — inherited printer assignments are how this error travels.
- If a fix "doesn't work," confirm the report file's modified date changed when you saved. With this error, an unsaved change is the most likely reason.
Related help
- Unspecified Error in a Custom Crystal Report
- Unable to Process the Lockfile: Crystal Reports
- Crystal Reports Asking for ODBC (RDO) Login
- Crystal Reports 2016 with Sage 100
- Display a Dynamic Image in Crystal Reports
Still stuck? Send us a screenshot of the error, we will diagnose it for free.
Digit Masters has supported Sage 100 and Sage 300 since 1997. Send the screenshot through our contact page or to contact@digitmasters.com, or call (800) 965-4262.