我剛剛在RHEL 5.5上安裝了Oracle Coherence 3.6。當我執行cache-server.sh時,我得到了很多有關分配大塊的GC警告,然後出現了分段錯誤。建議?這裏是堆棧:oracle相關性分段故障
GC Warning: Repeated allocation of very large block (appr. size 1024000):
May lead to memory leak and poor performance.
GC Warning: Repeated allocation of very large block (appr. size 1024000):
May lead to memory leak and poor performance.
./bin/cache-server.sh: line 24: 6142 Segmentation fault $JAVAEXEC -server -showversion $JAVA_OPTS -cp "$COHERENCE_HOME/lib/coherence.jar" com.tangosol.net.DefaultCacheServer $1
[[email protected] coherence_3.6]# swapon -s
Filename Type Size Used Priority
/dev/mapper/VolGroup00-LogVol01 partition 2097144 0 -1
[[email protected] coherence_3.6]# free
total used free shared buffers cached
Mem: 3631880 662792 2969088 0 142636 353244
-/+ buffers/cache: 166912 3464968
Swap: 2097144 0 2097144
[[email protected] coherence_3.6]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
147G 6.7G 133G 5%/
/dev/sda1 99M 12M 82M 13% /boot
tmpfs 1.8G 0 1.8G 0% /dev/shm
/dev/hdb 2.8G 2.8G 0 100% /media/RHEL_5.5 Source
/dev/hda 57M 57M 0 100% /media/VBOXADDITIONS_4.2.16_86992
[[email protected] coherence_3.6]#
如何處理進程崩潰的堆棧跟蹤? – steve
我只包含警告的最後幾行,其中包括'Segmentation Fault'錯誤。上面的這些行幾乎是GC警告的100次重複。最後還會說「GC警告:內存不足!返回NIL!」 –