cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Not enough memory for operation

Former Member
0 Likes
2,066

Hello -

I created a crystal report using 8.5 and compiled into and exe. I can run the report fine on my computer but the user I compiled this report for is getting the following error when they try to run the report - 'Not enough momory for operation". any ideas why I can run the report without problems but she is getting the error described?

When I install the report on the machine, dlls are unpacked int he same directory as the reports.

Connie

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Can you check at which line of code this error is getting thrown? Hope you are releasing all the resources at the end of the opertaion inside the code.

Former Member
0 Likes

The report is compiled into an exe. I am using Crystal 8.5. When the user runs the exe, they select the criteria they want, then hit Print. This is when the report errors out.

Former Member
0 Likes

Is there any resolution to this. I am experiencing a similar error?

Former Member
0 Likes

Are the exact same parameters being used when running the report on the two machines? Assuming so, the one machine is running out of (a) real memory (RAM), Virtual Memory, or possibly disk space (I'm thinking temp files, but I'm not sure if they are used in this configuration).

Is the report written based off of a single SQL command that returns only the data required for the report, or is Crystal pulling data from the individual tables and doing joins, selections, summarization, etc. locally? You might wanna try doing the former...

HTH,

Carl

Answers (2)

Answers (2)

Former Member
0 Likes

Does your report have any graphics in it?

If so, open the report, right click on each graphic and go to "fdormat graphic", then the "picture" tab, where widths etc are specified. You might get an error saying that there is an invalid value. If so, delete the graphic and re-add it. Same thing just happened to me.

Former Member
0 Likes

Connie, do you both have similar machines, with the same amount of memory, and are running the same OS ?

if yes to all that, then check for free memory on both PC's before trying to run the report.

and then after....

You may need to have some hardware people check both PC's ( It is always possible that the other PC is running out of memory, or has a bad memory module)

Former Member
0 Likes

She actually has more memory in her machine than my machine. Could it be software related. I have the full version of Crystal and she just has the dll and exe of the reports?