Return to Support Page
 homesearchagentssupportask xilinxmap

Answers Database


V1.5.0, V1.4.0 COREGEN: java.lang.OutOfMemoryError "Out of memory" errors on very large cores


Record #3325

Product Family:  Software

Product Line:  Coregen

Problem Title:
V1.5.0, V1.4.0 COREGEN:	java.lang.OutOfMemoryError "Out of memory"
errors on very large cores



Problem Description:
Keywords:  out of memory, coregen, solaris, swap, RAM,
PDA FIR, square root, constant coefficient multiplier

Urgency:  standard

General Description:
Out of memory errors similar to the following may be issued
by Coregen when generating very large versions of some of
the more complex modules:

"Exception occurred during event dispatching:
java.lang.OutOfMemoryError"












Solution 1:

In many cases, these errors may be due to the fact that
Java is being invoked by COREGEN with an option that restricts
its memory usage to a default level of 64MB, which is less
than what is required to generate the module.  If your machine
has more memory than 64MB, the problem may be corrected by
increasing this setting.

The option that specifies the maximum amount of memory
that Java is allowed to access is "-mx", and the default
is set to 64MB (-mx64m).  For some larger functions, such as
large PDA FIR filters, COREGen requires 128MB of RAM.



Solution 2:

Other out of memory errors in Coregen on Solaris may be due to
the fact that after it generates a Core, Coregen cannot
release the swap space it used to generate the Core until you
exit the program. This may also prevent you from using other
programs while Coregen is running.

This problem is due to the way Solaris operating systems
handle memory.	There is no workaround other than quitting
Coregen before trying to generate the next core.





End of Record #3325

For the latest news, design tips, and patch information on the Xilinx design environment, check out the Xilinx Expert Journals!

© 1998 Xilinx, Inc. All rights reserved
Trademarks and Patents