Customer Service Center
Home
Knowledge Base
Contact Support
License Activation
|
Contact Support
|
License Activation
|
Spirent KB Article
Doc ID: FAQ18415
Printer Friendly
Email Article Link
STCLive T&D : Core files reporting heap memory issue when system crashed.
Environment/Versions
STCLive T&D
All Versions
Answer
Reported core file reported out of heap memory when analyzed. Heap memory was increased from 1024 to 2048.
1. cd $METRO_HOME/MetroEngine/utilities/resource
2. vi metroengine.props
3. Change value From : JAVA_XMX=1024
To : JAVA_XMX=2048
4. Restart MetroEngine Process
cd
$METRO_HOME/MetroEngine/scripts
./stopMetroEngine.pl
./statusMetroEngine.pl
./startMetroEngine.pl
Below is some data from the analysis from engineering.
$ grep "returning NULL" javacore* | cut -d')' -f2-
returning NULL! 40 bytes requested for object of class 000000003004F100 from memory space 'Generational' id=00000100105D3010
returning NULL! 24 bytes requested for object of class 0000000030051000 from memory space 'Generational' id=00000100105D3010
returning NULL! 16 bytes requested for object of class 00000000301F3100 from memory space 'Generational' id=00000100105D3010
returning NULL! 16 bytes requested for object of class 00000000301F3100 from memory space 'Generational' id=00000100105D3010
cbeitzel@FRK-BBPH9W1 /cygdrive/c/Users/cbeitzel/Documents/ATT/SR01308407
$ grep "returning NULL" javacore* | cut -d')' -f2-
returning NULL! 40 bytes requested for object of class 000000003004F100 from memory space 'Generational' id=00000100105D3010
returning NULL! 24 bytes requested for object of class 0000000030051000 from memory space 'Generational' id=00000100105D3010
returning NULL! 16 bytes requested for object of class 00000000301F3100 from memory space 'Generational' id=00000100105D3010
returning NULL! 16 bytes requested for object of class 00000000301F3100 from memory space 'Generational' id=00000100105D3010
cbeitzel@FRK-BBPH9W1 /cygdrive/c/Users/cbeitzel/Documents/ATT/SR01308407
$ CL
-bash: CL: command not found
cbeitzel@FRK-BBPH9W1 /cygdrive/c/Users/cbeitzel/Documents/ATT/SR01308407
$ set -o vi
cbeitzel@FRK-BBPH9W1 /cygdrive/c/Users/cbeitzel/Documents/ATT/SR01308407
$ grep "3CLTEXTCLASS.*000000003004F100" javacore* | cut -d: -f2- | sort -u
3CLTEXTCLASS [J(0x000000003004F100)
cbeitzel@FRK-BBPH9W1 /cygdrive/c/Users/cbeitzel/Documents/ATT/SR01308407
$ grep "3CLTEXTCLASS.*0000000030051000" javacore* | cut -d: -f2- | sort -u
3CLTEXTCLASS java/lang/String(0x0000000030051000)
cbeitzel@FRK-BBPH9W1 /cygdrive/c/Users/cbeitzel/Documents/ATT/SR01308407
$ grep "3CLTEXTCLASS.*00000000301F3100" javacore* | cut -d: -f2- | sort -u
3CLTEXTCLASS org/apache/log4j/CategoryKey(0x00000000301F3100)
cbeitzel@FRK-BBPH9W1 /cygdrive/c/Users/cbeitzel/Documents/ATT/SR01308407
$ grep "3CLTEXTCLASS.*00000000301F3100" javacore* | cut -d: -f2- | sort -u
3CLTEXTCLASS org/apache/log4j/CategoryKey(0x00000000301F3100)
cbeitzel@FRK-BBPH9W1 /cygdrive/c/Users/cbeitzel/Documents/ATT/SR01308407
Version
1.0
Publish Date
2018-05-21
Categories
Product : VW Controller T&D Classic
Related Articles