SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 37277: Fragmented memory prevents the Java Web-application server from starting

DetailsAboutRate It
The Java Virtual Machine (JVM) requires a contiguous block of memory for its heap allocation (see details below). If the required memory is not available in a contiguous block when you execute a Java command, that command fails. The Sun JVM fails in such a scenario with these error messages:
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

Any Java command can fail in this way, but a Java Web-application server on which SAS® Web applications are deployed is particularly vulnerable because of the amount of memory that is required, as follows:

  • For the IBM JVM, the size of the required contiguous block of memory is specified by the
    –Xmx parameter.
  • For the Sun JVM, the size of the required contiguous block of memory is the sum of –Xmx and –MaxPermSize.


Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemJava Development KitMicrosoft® Windows® for x64
Microsoft Windows 2000 Advanced Server
Microsoft Windows 2000 Datacenter Server
Microsoft Windows 2000 Server
Microsoft Windows Server 2003 Datacenter Edition
Microsoft Windows Server 2003 Enterprise Edition
Microsoft Windows Server 2003 Standard Edition
Microsoft Windows Server 2008
Microsoft Windows XP Professional
64-bit Enabled AIX
64-bit Enabled Solaris
HP-UX IPF
Linux
Linux for x64
Solaris for x64
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.