Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Not enough memory for operation when Compiling

Status
Not open for further replies.

Rangie

MIS
Aug 7, 2001
8
AU
I have created a crystal report with 2 sub-reports. The database is Act!. When compiling I get "Not enough memory for operation" message. The report will continue to compile, however the compliation does not work, even when it is run on the same mchine. I have looked at all of the knowledgebase articles, but none have fixed the problem.
Any suggestions?
 
Hi

check your temp folder make sure you have deleted all the temps file for you will have that error. also check your virtual drive space and increase it if you have to.

cheers

pgtek
 
5 Temp files and virtual drive space is 766mb. Increasing it to 2048 made no difference.

Thanks
Richard
 
"Not enough memory for operation"

The information in the article refers to:
Seagate Crystal Reports 6


Applies to:

Reported version and higher
Compiled Reports
Not enough memory



Synopsis

A report was distributed to a client's machine. When this report was run the following error occurred:

"Not enough memory for operation"


Solution

The report contained a formula with the following contents:

if (field) = &quot;value1&quot; then <-expr-> else
if (field) = &quot;value2&quot; then <-expr-> else
if (field) = &quot;value3&quot; then <-expr->;

If the data generates a field value that isn't value1, value2 or value3, the error occurred. To solve the error the formula was changed as follows:

if (field) = &quot;value1&quot; then <-expr-> else
if (field) = &quot;value2&quot; then <-expr-> else
if (field) = &quot;value3&quot; then <-expr-> else <default value>;



--------------------------------------------------------------------------------
 
&quot;Not enough memory for operation&quot;

The information in the article refers to:
Seagate Crystal Reports 6


Applies to:

Reported version and higher
Compiled Reports
Not enough memory



Synopsis

A report was distributed to a client's machine. When this report was run the following error occurred:

&quot;Not enough memory for operation&quot;


Solution

The report contained a formula with the following contents:

if (field) = &quot;value1&quot; then <-expr-> else
if (field) = &quot;value2&quot; then <-expr-> else
if (field) = &quot;value3&quot; then <-expr->;

If the data generates a field value that isn't value1, value2 or value3, the error occurred. To solve the error the formula was changed as follows:

if (field) = &quot;value1&quot; then <-expr-> else
if (field) = &quot;value2&quot; then <-expr-> else
if (field) = &quot;value3&quot; then <-expr-> else <default value>;



--------------------------------------------------------------------------------


 
Checked the link. The functions in ths report are fairly simple. I did a test on the database and as it turns out that is where the problem is. Their are Users with no User accounts. I created a copy of the database with 1 User and evrything works fine.

Thanks anyway.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top