{{theTime}}

Search This Blog

Total Pageviews

Java OutOfMemoryError Hint


The VM prints "OutOfMemoryError" and exits. Increasing max heap size doesn't help.
The Java HotSpot VM cannot expand its heap size if memory is completely allocated and no swap space is available. This can occur, for example, when several applications are running simultaneously. When this happens, the VM will exit after printing a message similar to the following.
Exception java.lang.OutOfMemoryError: requested  bytes

-Xmx-Xms-Xmx

No comments:

Generate Insert Sql from Select Statement

SELECT 'INSERT INTO ReferenceTable (ID, Name) VALUES (' +        CAST(ID AS NVARCHAR) + ', ''' + Name + ''...