Java virtual memory: 16,777,216 TB!
I've noticed some Java oddness since the latest update, but now I see that the Activity Monitor reports that it's taking 16,777,216 TB of virtual memory. Should I worry about this?
Opening the java console and choosing a 32-bit version of Java (Apple's choice as default) will drop the VM down from the 16777216 TB (to 1.29 GB) on my computer. I have no idea what the other connotations of changing your java version are.
Similar Messages
-
Activity Monitor: Virtual Memory column -
Java Real Memory @ 330 MB
Java Virtual Memory was 16,333 TB.
How could this be?
Running:
Safari
Mail
Pages
Activity Monitor open
Safari was incredibly slow today, as it has been a lot lately, but inconsistently. The other computers in the house had normal speed. I'm not a tech person. I attached a copy of the activity monitor - how it looks right now. I appreciate your thoughts and suggestions. Thank you.
bottom halfAs Kappy says, the virtual memory information is mostly meaningless except to developers, and most of them do not really care.
In this case the Java VM usage is most likely a math error on the part of either the operating system, or Activity Monitor (when a 64-bit number goes negative, but is then displayed as an unsigned value, it can look like what you are seeing; ignore it).
What you ARE interested in is "Real Memory" usage, and who is using it. Look at those numbers in Activity Monitor.
If you want to see if pageout activity is affecting your performance, then start Applicaitons -> Utilities -> Terminal and run the command "sar -g 60 100" which will report pageout numbers once a minute for 100 minutes (adjust the numbers to suit your tastes). Mostly zero means no pages outs. Occassional spikes generally occur when starting an app or switching to an app which has been idle for awhile. Sustained pageouts starts to indicate a problem. High sustained pageouts means you could benefit from either having more RAM or running fewer concurrent applications. -
JAVA-Virtual Memory Machine appears low
Since my update to 10.5.7 neither my Safari or Firefox is able to load large charts into the Java applet. My preferences for java cache is set to max 1000mb, compression set to none. If I reduce the data and size of the chart it will load. I never had this problem before. The following message comes up:
"Memory in the Java Virtual Machine appears low. Continuing may result in an error. Press cancel to discontinue loading of this chart."
Previously I would just press "Continue" and the chart would load. Not anymore.
The first plugin in my Preference list is J2SE 5.0 32-bit
Any ideas how to rectify this? Thx.Going back in time to an older version does sound like it might be the solution.
Here is the site to download a chart: http://stockcharts.com/h-sc/ui?s=nem
First however, when the chart opens, you have to go to the bottom and change the size to 1600, then add a bunch of overlays and indicator. This will increase the memory required the the Java applet. Once that is done, you click on the "Annotate" link directly at the bottom edge of the chart (next to the Print link) and that will load it into the Java applet. The first time it should load properly, but then fail the following times.
It will be interesting to hear about your test.
Thx -
Hello,
Virtual Memory of tomcat(version is 6.0.35) is very high and jvm crash even though we decrease java heap size from 1024M to 500M.
Below is whole log. Please give me some suggestion. Thanks.
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 666390 bytes for jbyte in C:\BUILD_AREA\jdk6_45\hotspot\src\share\vm\prims\jni.cpp
# Possible reasons:
# The system is out of physical RAM or swap space
# In 32 bit mode, the process size limit was hit
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Use 64 bit Java on a 64 bit OS
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# This output file may be truncated or incomplete.
# Out of Memory Error (memory/allocation.inline.hpp:44), pid=9084, tid=8100
# JRE version: 6.0_45-b06
# Java VM: Java HotSpot(TM) Client VM (20.45-b01 mixed mode, sharing windows-x86 )
--------------- T H R E A D ---------------
Current thread (0x045a5400): JavaThread "Thread-69" [_thread_in_vm, id=8100, stack(0x090e0000,0x09120000)]
Stack: [0x090e0000,0x09120000], sp=0x0911f56c, free space=253k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
[error occurred during error reporting (printing native stack), id 0xe0000000]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J com.neva.ExternalObject.toExternalHeap2([BI)I
J com.neva.ExternalObject.<init>([BII)V
J com.neva.Coroutine.addArgUnicodeString(Ljava/lang/String;)V
j com.neva.COMBSTR.<init>(Ljava/lang/String;)V+29
j com.neva.COMVariant.<init>(Ljava/lang/String;)V+19
J com.cpcus.jaru.protocol.impl.combridge.wizardgen.IJaruProtocol1.registerInterest(Ljava/lang/String;Ljava/lang/String;[ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)V
j sun.reflect.GeneratedMethodAccessor844.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+170
J sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
J java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
J com.cpcus.jaru.util.concurent.ComMethodExecutor$ExecutableMethod.call()Ljava/lang/Object;
J EDU.oswego.cs.dl.util.concurrent.FutureResult$1.run()V
J com.cpcus.jaru.util.concurent.QueuedExecutor$MyRunLoop.run()V
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x044fe000 JavaThread "Thread-1099" daemon [_thread_blocked, id=8048, stack(0x4c4d0000,0x4c510000)]
0x044f8c00 JavaThread "Thread-1098" daemon [_thread_blocked, id=1744, stack(0x46e50000,0x46e90000)]
0x044cd000 JavaThread "Thread-1095" daemon [_thread_in_native, id=6176, stack(0x00bb0000,0x00c20000)]
0x04c7f800 JavaThread "Thread-1094" daemon [_thread_blocked, id=7352, stack(0x0d340000,0x0d380000)]
0x04c7dc00 JavaThread "Thread-1093" daemon [_thread_in_native, id=1364, stack(0x0bbd0000,0x0bc10000)]
0x044fcc00 JavaThread "http-80-72" daemon [_thread_blocked, id=1580, stack(0x42110000,0x42150000)]
0x044fc000 JavaThread "http-80-71" daemon [_thread_blocked, id=2996, stack(0x0cd10000,0x0cd50000)]
0x044fb800 JavaThread "http-80-70" daemon [_thread_in_native, id=5004, stack(0x0cc90000,0x0ccd0000)]
0x044fd800 JavaThread "http-80-69" daemon [_thread_blocked, id=8776, stack(0x0f950000,0x0f990000)]
0x044fb400 JavaThread "http-80-68" daemon [_thread_blocked, id=8440, stack(0x0f8d0000,0x0f910000)]
0x044f8000 JavaThread "http-80-67" daemon [_thread_in_native, id=5516, stack(0x0f850000,0x0f890000)]
0x044fd400 JavaThread "http-80-66" daemon [_thread_blocked, id=876, stack(0x0f6d0000,0x0f710000)]
0x044fac00 JavaThread "http-80-65" daemon [_thread_in_native, id=8332, stack(0x0f690000,0x0f6d0000)]
0x044fa800 JavaThread "http-80-64" daemon [_thread_in_native, id=6848, stack(0x0f610000,0x0f650000)]
0x044fc800 JavaThread "http-80-63" daemon [_thread_blocked, id=5996, stack(0x0f590000,0x0f5d0000)]
0x044fa000 JavaThread "http-80-62" daemon [_thread_blocked, id=4876, stack(0x0cf90000,0x0cfd0000)]
0x044f9c00 JavaThread "http-80-61" daemon [_thread_blocked, id=5532, stack(0x0f550000,0x0f590000)]
0x044f9400 JavaThread "http-80-60" daemon [_thread_in_native, id=1764, stack(0x0f4d0000,0x0f510000)]
0x044f8800 JavaThread "http-80-59" daemon [_thread_blocked, id=6108, stack(0x0f450000,0x0f490000)]
0x044f7400 JavaThread "http-80-58" daemon [_thread_in_native, id=6892, stack(0x0d400000,0x0d440000)]
0x04ab3000 JavaThread "http-80-57" daemon [_thread_in_native, id=6932, stack(0x0d2c0000,0x0d300000)]
0x0436b400 JavaThread "http-80-56" daemon [_thread_blocked, id=644, stack(0x0d240000,0x0d280000)]
0x0436a000 JavaThread "http-80-55" daemon [_thread_in_native, id=6772, stack(0x0d1c0000,0x0d200000)]
0x04c80c00 JavaThread "http-80-54" daemon [_thread_in_native, id=2732, stack(0x0d140000,0x0d180000)]
0x04c80800 JavaThread "http-80-53" daemon [_thread_in_native, id=4172, stack(0x0d0c0000,0x0d100000)]
0x04c80000 JavaThread "http-80-52" daemon [_thread_blocked, id=2512, stack(0x0d040000,0x0d080000)]
0x044cdc00 JavaThread "http-80-51" daemon [_thread_in_native, id=6260, stack(0x0ced0000,0x0cf10000)]
0x04c7d400 JavaThread "http-80-50" daemon [_thread_blocked, id=4336, stack(0x0ce90000,0x0ced0000)]
0x0436d400 JavaThread "http-80-49" daemon [_thread_blocked, id=2484, stack(0x0ce10000,0x0ce50000)]
0x0436dc00 JavaThread "http-80-48" daemon [_thread_in_native, id=8396, stack(0x0c840000,0x0c880000)]
0x0436cc00 JavaThread "http-80-47" daemon [_thread_blocked, id=8300, stack(0x0c9c0000,0x0ca00000)]
0x0436c800 JavaThread "H2 Log Writer FRAMEDB" daemon [_thread_blocked, id=7556, stack(0x0cc10000,0x0cc50000)]
0x0436bc00 JavaThread "H2 File Lock Watchdog C:\Program Files (x86)\Tomcat\webapps\emerson\vault\dbframe\h2\framedb.lock.db" daemon [_thread_blocked, id=7236, stack(0x0c940000,0x0c980000)]
0x0436c000 JavaThread "http-80-46" daemon [_thread_in_native, id=5128, stack(0x0c8c0000,0x0c900000)]
0x0436b000 JavaThread "http-80-45" daemon [_thread_blocked, id=7860, stack(0x0c0c0000,0x0c100000)]
0x0436a800 JavaThread "http-80-44" daemon [_thread_in_native, id=8244, stack(0x0bfc0000,0x0c000000)]
0x04ab2800 JavaThread "http-80-43" daemon [_thread_blocked, id=6656, stack(0x0c7c0000,0x0c800000)]
0x04ab2000 JavaThread "http-80-42" daemon [_thread_blocked, id=8412, stack(0x0c740000,0x0c780000)]
0x04ab1c00 JavaThread "http-80-41" daemon [_thread_in_native, id=6300, stack(0x0c6c0000,0x0c700000)]
0x04ab1400 JavaThread "http-80-40" daemon [_thread_blocked, id=4312, stack(0x0c640000,0x0c680000)]
0x04ab1000 JavaThread "http-80-39" daemon [_thread_blocked, id=5480, stack(0x0c5c0000,0x0c600000)]
0x04ab0800 JavaThread "http-80-38" daemon [_thread_blocked, id=8648, stack(0x0c540000,0x0c580000)]
0x04ab0400 JavaThread "http-80-37" daemon [_thread_blocked, id=8008, stack(0x0c4c0000,0x0c500000)]
0x04aafc00 JavaThread "http-80-36" daemon [_thread_in_native, id=8496, stack(0x0c340000,0x0c380000)]
0x04aaf400 JavaThread "http-80-35" daemon [_thread_blocked, id=6616, stack(0x0c2c0000,0x0c300000)]
0x044cf000 JavaThread "http-80-34" daemon [_thread_blocked, id=3852, stack(0x0c240000,0x0c280000)]
0x044ce800 JavaThread "http-80-33" daemon [_thread_blocked, id=8828, stack(0x0c1c0000,0x0c200000)]
0x044ce400 JavaThread "http-80-32" daemon [_thread_blocked, id=4076, stack(0x0c140000,0x0c180000)]
0x044cc400 JavaThread "http-80-31" daemon [_thread_blocked, id=888, stack(0x0be90000,0x0bed0000)]
0x044cbc00 JavaThread "http-80-30" daemon [_thread_blocked, id=8524, stack(0x0be10000,0x0be50000)]
0x044cd800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=6500, stack(0x0c040000,0x0c080000)]
0x044ccc00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=8888, stack(0x0bf40000,0x0bf80000)]
0x045a5800 JavaThread "MonitorThreadCountsAndMemory" daemon [_thread_blocked, id=760, stack(0x09160000,0x091a0000)]
0x04742400 JavaThread "Thread-116" daemon [_thread_blocked, id=8208, stack(0x0bdd0000,0x0be10000)]
0x04742c00 JavaThread "Thread-115" daemon [_thread_blocked, id=6160, stack(0x0bd30000,0x0bd70000)]
0x04742000 JavaThread "TP-Monitor" daemon [_thread_blocked, id=4676, stack(0x0b730000,0x0b770000)]
0x04741800 JavaThread "TP-Processor4" daemon [_thread_in_native, id=7904, stack(0x0b6b0000,0x0b6f0000)]
0x04741000 JavaThread "TP-Processor3" daemon [_thread_blocked, id=3892, stack(0x0b630000,0x0b670000)]
0x04740c00 JavaThread "TP-Processor2" daemon [_thread_blocked, id=8200, stack(0x0b5b0000,0x0b5f0000)]
0x04740400 JavaThread "TP-Processor1" daemon [_thread_blocked, id=8240, stack(0x0b530000,0x0b570000)]
0x04740000 JavaThread "http-80-29" daemon [_thread_blocked, id=8952, stack(0x0b4b0000,0x0b4f0000)]
0x0473f800 JavaThread "http-80-28" daemon [_thread_in_native, id=5804, stack(0x0b430000,0x0b470000)]
0x0473f400 JavaThread "http-80-27" daemon [_thread_blocked, id=8768, stack(0x0b3b0000,0x0b3f0000)]
0x0473ec00 JavaThread "http-80-26" daemon [_thread_in_native, id=8428, stack(0x0b330000,0x0b370000)]
0x0473e400 JavaThread "http-80-25" daemon [_thread_blocked, id=6328, stack(0x0b2b0000,0x0b2f0000)]
0x0473e000 JavaThread "http-80-24" daemon [_thread_in_native, id=7856, stack(0x0b230000,0x0b270000)]
0x0473d800 JavaThread "http-80-23" daemon [_thread_in_native, id=8212, stack(0x0b1b0000,0x0b1f0000)]
0x0473d400 JavaThread "http-80-22" daemon [_thread_blocked, id=7572, stack(0x0b130000,0x0b170000)]
0x0473cc00 JavaThread "http-80-21" daemon [_thread_in_native, id=4112, stack(0x0b0b0000,0x0b0f0000)]
0x0473c800 JavaThread "http-80-20" daemon [_thread_in_native, id=1788, stack(0x0b030000,0x0b070000)]
0x0473c000 JavaThread "http-80-19" daemon [_thread_blocked, id=6804, stack(0x0afb0000,0x0aff0000)]
0x0473b800 JavaThread "http-80-18" daemon [_thread_in_native, id=1600, stack(0x0af30000,0x0af70000)]
0x0473b400 JavaThread "http-80-17" daemon [_thread_in_native, id=5728, stack(0x0aeb0000,0x0aef0000)]
0x04acc400 JavaThread "http-80-16" daemon [_thread_blocked, id=8728, stack(0x0ae30000,0x0ae70000)]
0x04acbc00 JavaThread "http-80-15" daemon [_thread_blocked, id=5868, stack(0x0adb0000,0x0adf0000)]
0x04acb800 JavaThread "http-80-14" daemon [_thread_blocked, id=6976, stack(0x0ad30000,0x0ad70000)]
0x04acb000 JavaThread "http-80-13" daemon [_thread_blocked, id=6168, stack(0x0acb0000,0x0acf0000)]
0x04acac00 JavaThread "http-80-12" daemon [_thread_blocked, id=2592, stack(0x0ac30000,0x0ac70000)]
0x04aca400 JavaThread "http-80-11" daemon [_thread_in_native, id=7936, stack(0x0abb0000,0x0abf0000)]
0x04aca000 JavaThread "http-80-10" daemon [_thread_in_native, id=7532, stack(0x0ab30000,0x0ab70000)]
0x04ac9800 JavaThread "http-80-9" daemon [_thread_blocked, id=7704, stack(0x0aab0000,0x0aaf0000)]
0x04ac9400 JavaThread "http-80-8" daemon [_thread_in_native, id=8852, stack(0x0aa30000,0x0aa70000)]
0x04ac8c00 JavaThread "http-80-7" daemon [_thread_blocked, id=5052, stack(0x0a9b0000,0x0a9f0000)]
0x04ac8400 JavaThread "http-80-6" daemon [_thread_blocked, id=5932, stack(0x0a930000,0x0a970000)]
0x04ac8000 JavaThread "http-80-5" daemon [_thread_blocked, id=8992, stack(0x0a8b0000,0x0a8f0000)]
0x04ac7800 JavaThread "http-80-4" daemon [_thread_in_native, id=6396, stack(0x0a830000,0x0a870000)]
0x04ac7400 JavaThread "http-80-3" daemon [_thread_in_native, id=8764, stack(0x0a7b0000,0x0a7f0000)]
0x04ac6c00 JavaThread "http-80-2" daemon [_thread_in_native, id=2608, stack(0x0a730000,0x0a770000)]
0x04ac6800 JavaThread "http-80-1" daemon [_thread_in_native, id=5736, stack(0x0a6b0000,0x0a6f0000)]
0x04ac6000 JavaThread "http-80-Acceptor-0" daemon [_thread_in_native, id=5912, stack(0x0a630000,0x0a670000)]
0x04ac5800 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=6984, stack(0x0a5b0000,0x0a5f0000)]
0x04ac5400 JavaThread "Thread-79" [_thread_in_native, id=1512, stack(0x0a530000,0x0a570000)]
0x04ac4c00 JavaThread "QuartzScheduler_JaruQuartzSchedulerUser-3_MisfireHandler" [_thread_blocked, id=7460, stack(0x0a4b0000,0x0a4f0000)]
0x0479f800 JavaThread "QuartzScheduler_JaruQuartzSchedulerSystem-2_MisfireHandler" [_thread_blocked, id=7164, stack(0x0a430000,0x0a470000)]
0x0479f400 JavaThread "JaruQuartzSchedulerUser_QuartzSchedulerThread" [_thread_blocked, id=8972, stack(0x0a3b0000,0x0a3f0000)]
0x0479ec00 JavaThread "JaruQuartzSchedulerUser_Worker-4" [_thread_blocked, id=4032, stack(0x0a330000,0x0a370000)]
0x0479e400 JavaThread "JaruQuartzSchedulerUser_Worker-3" [_thread_blocked, id=7432, stack(0x0a2b0000,0x0a2f0000)]
0x0479e000 JavaThread "JaruQuartzSchedulerUser_Worker-2" [_thread_blocked, id=7932, stack(0x0a230000,0x0a270000)]
0x0479d800 JavaThread "JaruQuartzSchedulerUser_Worker-1" [_thread_blocked, id=4896, stack(0x0a1b0000,0x0a1f0000)]
0x0479d400 JavaThread "JaruQuartzSchedulerSystem_QuartzSchedulerThread" [_thread_blocked, id=7380, stack(0x0a130000,0x0a170000)]
0x0479cc00 JavaThread "JaruQuartzSchedulerSystem_Worker-9" [_thread_blocked, id=5416, stack(0x0a0b0000,0x0a0f0000)]
0x0479c800 JavaThread "JaruQuartzSchedulerSystem_Worker-8" [_thread_blocked, id=5432, stack(0x0a030000,0x0a070000)]
0x0479c000 JavaThread "JaruQuartzSchedulerSystem_Worker-7" [_thread_blocked, id=7812, stack(0x09fb0000,0x09ff0000)]
0x0479b800 JavaThread "JaruQuartzSchedulerSystem_Worker-6" [_thread_blocked, id=8296, stack(0x09f30000,0x09f70000)]
0x0479b400 JavaThread "JaruQuartzSchedulerSystem_Worker-5" [_thread_blocked, id=5216, stack(0x09eb0000,0x09ef0000)]
0x0479ac00 JavaThread "JaruQuartzSchedulerSystem_Worker-4" [_thread_blocked, id=8616, stack(0x09e30000,0x09e70000)]
0x0479a800 JavaThread "JaruQuartzSchedulerSystem_Worker-3" [_thread_blocked, id=9108, stack(0x09db0000,0x09df0000)]
0x0479a000 JavaThread "JaruQuartzSchedulerSystem_Worker-2" [_thread_blocked, id=7928, stack(0x09d30000,0x09d70000)]
0x04799c00 JavaThread "JaruQuartzSchedulerSystem_Worker-1" [_thread_blocked, id=5344, stack(0x09cb0000,0x09cf0000)]
0x04799400 JavaThread "DefaultQuartzScheduler_QuartzSchedulerThread" [_thread_blocked, id=5288, stack(0x09c30000,0x09c70000)]
0x04798c00 JavaThread "DefaultQuartzScheduler_Worker-10" [_thread_blocked, id=6200, stack(0x09bb0000,0x09bf0000)]
0x04798800 JavaThread "DefaultQuartzScheduler_Worker-9" [_thread_blocked, id=9068, stack(0x09b30000,0x09b70000)]
0x04798000 JavaThread "DefaultQuartzScheduler_Worker-8" [_thread_blocked, id=8576, stack(0x09ab0000,0x09af0000)]
0x045abc00 JavaThread "DefaultQuartzScheduler_Worker-7" [_thread_blocked, id=2504, stack(0x09a30000,0x09a70000)]
0x045ab800 JavaThread "DefaultQuartzScheduler_Worker-6" [_thread_blocked, id=7820, stack(0x099b0000,0x099f0000)]
0x045ab000 JavaThread "DefaultQuartzScheduler_Worker-5" [_thread_blocked, id=4604, stack(0x09930000,0x09970000)]
0x045aa800 JavaThread "DefaultQuartzScheduler_Worker-4" [_thread_blocked, id=3076, stack(0x098b0000,0x098f0000)]
0x045aa400 JavaThread "DefaultQuartzScheduler_Worker-3" [_thread_blocked, id=8392, stack(0x09830000,0x09870000)]
0x045a9c00 JavaThread "DefaultQuartzScheduler_Worker-2" [_thread_blocked, id=476, stack(0x097b0000,0x097f0000)]
0x045a9800 JavaThread "DefaultQuartzScheduler_Worker-1" [_thread_blocked, id=9024, stack(0x09730000,0x09770000)]
0x045a9000 JavaThread "JaruQuartzScheduler_QuartzSchedulerThread" [_thread_blocked, id=7576, stack(0x00820000,0x00860000)]
0x045a8c00 JavaThread "Thread-75" [_thread_blocked, id=2132, stack(0x096b0000,0x096f0000)]
0x045a8400 JavaThread "TacAlarmMon" [_thread_blocked, id=7244, stack(0x09630000,0x09670000)]
0x045a7c00 JavaThread "Thread-74" [_thread_blocked, id=2728, stack(0x095b0000,0x095f0000)]
0x045a7800 JavaThread "MonConnMgr3002" [_thread_in_native, id=7444, stack(0x09530000,0x09570000)]
0x045a7000 JavaThread "Timer-1" [_thread_blocked, id=8272, stack(0x094b0000,0x094f0000)]
0x045a6c00 JavaThread "Thread-72" [_thread_blocked, id=6512, stack(0x09430000,0x09470000)]
0x045a6400 JavaThread "MonConnMgr3001" [_thread_in_native, id=5284, stack(0x093b0000,0x093f0000)]
0x045a6000 JavaThread "Timer-0" [_thread_blocked, id=2932, stack(0x09330000,0x09370000)]
=>0x045a5400 JavaThread "Thread-69" [_thread_in_native_trans, id=8100, stack(0x090e0000,0x09120000)]
0x045a4c00 JavaThread "Thread-68" [_thread_blocked, id=7160, stack(0x09060000,0x090a0000)]
0x045a4400 JavaThread "Thread-67" [_thread_blocked, id=2212, stack(0x08fe0000,0x09020000)]
0x04875400 JavaThread "Thread-66" [_thread_blocked, id=7180, stack(0x08f60000,0x08fa0000)]
0x04875000 JavaThread "Thread-65" [_thread_blocked, id=2672, stack(0x08ee0000,0x08f20000)]
0x04874800 JavaThread "Thread-64" [_thread_blocked, id=8456, stack(0x08e60000,0x08ea0000)]
0x04874000 JavaThread "Thread-63" [_thread_blocked, id=7708, stack(0x08de0000,0x08e20000)]
0x04873c00 JavaThread "Thread-62" [_thread_blocked, id=9204, stack(0x08d60000,0x08da0000)]
0x04873400 JavaThread "Thread-61" [_thread_blocked, id=1496, stack(0x08ce0000,0x08d20000)]
0x04873000 JavaThread "Thread-60" [_thread_blocked, id=3480, stack(0x08c60000,0x08ca0000)]
0x04872800 JavaThread "Thread-59" [_thread_blocked, id=7740, stack(0x08be0000,0x08c20000)]
0x04872400 JavaThread "Thread-58" [_thread_blocked, id=3496, stack(0x08b60000,0x08ba0000)]
0x04871c00 JavaThread "Thread-57" [_thread_blocked, id=4892, stack(0x08ae0000,0x08b20000)]
0x04871400 JavaThread "Thread-56" [_thread_blocked, id=5640, stack(0x08a60000,0x08aa0000)]
0x04871000 JavaThread "Thread-55" [_thread_blocked, id=8120, stack(0x089e0000,0x08a20000)]
0x04870800 JavaThread "Thread-54" [_thread_blocked, id=5388, stack(0x08960000,0x089a0000)]
0x04870400 JavaThread "Thread-53" [_thread_blocked, id=7072, stack(0x088e0000,0x08920000)]
0x0486fc00 JavaThread "Thread-52" [_thread_blocked, id=7184, stack(0x08860000,0x088a0000)]
0x0486f800 JavaThread "Thread-51" [_thread_blocked, id=8760, stack(0x087e0000,0x08820000)]
0x0486f000 JavaThread "Thread-50" [_thread_blocked, id=2380, stack(0x08760000,0x087a0000)]
0x0486e800 JavaThread "Thread-49" [_thread_blocked, id=3616, stack(0x086e0000,0x08720000)]
0x0486e400 JavaThread "Thread-48" [_thread_blocked, id=5056, stack(0x08660000,0x086a0000)]
0x0486dc00 JavaThread "Thread-47" [_thread_blocked, id=5468, stack(0x085e0000,0x08620000)]
0x0485a000 JavaThread "Thread-46" [_thread_blocked, id=8556, stack(0x08560000,0x085a0000)]
0x04859c00 JavaThread "Thread-45" [_thread_blocked, id=3656, stack(0x084e0000,0x08520000)]
0x04859400 JavaThread "Thread-44" [_thread_blocked, id=8924, stack(0x08460000,0x084a0000)]
0x04858c00 JavaThread "Thread-43" [_thread_blocked, id=7536, stack(0x083e0000,0x08420000)]
0x04858800 JavaThread "Thread-42" [_thread_blocked, id=4368, stack(0x08360000,0x083a0000)]
0x04858000 JavaThread "Thread-41" [_thread_blocked, id=8488, stack(0x082e0000,0x08320000)]
0x04857c00 JavaThread "Thread-40" [_thread_blocked, id=6112, stack(0x08260000,0x082a0000)]
0x04857400 JavaThread "Thread-39" [_thread_blocked, id=6060, stack(0x081e0000,0x08220000)]
0x04857000 JavaThread "Thread-38" [_thread_blocked, id=9200, stack(0x08160000,0x081a0000)]
0x04856800 JavaThread "Thread-37" [_thread_blocked, id=5476, stack(0x080e0000,0x08120000)]
0x04856000 JavaThread "Thread-36" [_thread_blocked, id=2828, stack(0x08060000,0x080a0000)]
0x04855c00 JavaThread "Thread-35" [_thread_blocked, id=8320, stack(0x07fe0000,0x08020000)]
0x04855400 JavaThread "Thread-34" [_thread_blocked, id=5668, stack(0x07f60000,0x07fa0000)]
0x04855000 JavaThread "Thread-33" [_thread_blocked, id=8316, stack(0x07ee0000,0x07f20000)]
0x04854800 JavaThread "Thread-32" [_thread_blocked, id=4836, stack(0x07e60000,0x07ea0000)]
0x04854400 JavaThread "Thread-31" [_thread_blocked, id=964, stack(0x07de0000,0x07e20000)]
0x04853c00 JavaThread "Thread-30" [_thread_blocked, id=4544, stack(0x07d60000,0x07da0000)]
0x04853400 JavaThread "Thread-29" [_thread_blocked, id=4388, stack(0x07ce0000,0x07d20000)]
0x04853000 JavaThread "Thread-28" [_thread_blocked, id=7204, stack(0x07c60000,0x07ca0000)]
0x04852800 JavaThread "Thread-27" [_thread_blocked, id=864, stack(0x07be0000,0x07c20000)]
0x0482f800 JavaThread "Thread-26" [_thread_blocked, id=6928, stack(0x07b60000,0x07ba0000)]
0x0482f400 JavaThread "Thread-25" [_thread_blocked, id=7692, stack(0x07ae0000,0x07b20000)]
0x0482ec00 JavaThread "Thread-24" [_thread_blocked, id=7196, stack(0x07a60000,0x07aa0000)]
0x0482e400 JavaThread "Thread-23" [_thread_blocked, id=7116, stack(0x079e0000,0x07a20000)]
0x0482e000 JavaThread "Thread-22" [_thread_blocked, id=4332, stack(0x07960000,0x079a0000)]
0x0482d800 JavaThread "Thread-21" [_thread_blocked, id=6780, stack(0x078e0000,0x07920000)]
0x0482d400 JavaThread "Thread-20" [_thread_blocked, id=5700, stack(0x07860000,0x078a0000)]
0x0482cc00 JavaThread "Thread-19" [_thread_blocked, id=6116, stack(0x077e0000,0x07820000)]
0x0482c800 JavaThread "Thread-18" [_thread_blocked, id=7824, stack(0x07760000,0x077a0000)]
0x0482c000 JavaThread "Thread-17" [_thread_blocked, id=9096, stack(0x076e0000,0x07720000)]
0x0482b800 JavaThread "Thread-16" [_thread_blocked, id=9144, stack(0x07660000,0x076a0000)]
0x0482b400 JavaThread "Thread-15" [_thread_blocked, id=5336, stack(0x075e0000,0x07620000)]
0x0482ac00 JavaThread "Thread-14" [_thread_blocked, id=2076, stack(0x07560000,0x075a0000)]
0x0482a800 JavaThread "Thread-13" [_thread_blocked, id=5300, stack(0x074e0000,0x07520000)]
0x0482a000 JavaThread "Thread-12" [_thread_blocked, id=4912, stack(0x07460000,0x074a0000)]
0x04829c00 JavaThread "Thread-11" [_thread_blocked, id=8512, stack(0x073e0000,0x07420000)]
0x04829400 JavaThread "Thread-10" [_thread_blocked, id=8772, stack(0x07360000,0x073a0000)]
0x04828c00 JavaThread "Thread-9" [_thread_blocked, id=4380, stack(0x072e0000,0x07320000)]
0x04828800 JavaThread "Thread-8" [_thread_blocked, id=6076, stack(0x07260000,0x072a0000)]
0x04828000 JavaThread "RMI Reaper" [_thread_blocked, id=6184, stack(0x071e0000,0x07220000)]
0x04801c00 JavaThread "Thread-7" [_thread_blocked, id=4168, stack(0x07160000,0x071a0000)]
0x0496a000 JavaThread "HSQLDB Timer @def14f" daemon [_thread_blocked, id=4616, stack(0x050e0000,0x05120000)]
0x03bd6c00 JavaThread "C3P0PooledConnectionPoolManager[identityToken->2x760f905j9tmy1l1yrpa|1e2c841]-HelperThread-#2" daemon [_thread_blocked, id=4136, stack(0x05060000,0x050a0000)]
0x03bd6400 JavaThread "C3P0PooledConnectionPoolManager[identityToken->2x760f905j9tmy1l1yrpa|1e2c841]-HelperThread-#1" daemon [_thread_blocked, id=8356, stack(0x04fe0000,0x05020000)]
0x03a05400 JavaThread "C3P0PooledConnectionPoolManager[identityToken->2x760f905j9tmy1l1yrpa|1e2c841]-HelperThread-#0" daemon [_thread_blocked, id=5404, stack(0x04f60000,0x04fa0000)]
0x03a04c00 JavaThread "C3P0PooledConnectionPoolManager[identityToken->2x760f905j9tmy1l1yrpa|1e2c841]-AdminTaskTimer" daemon [_thread_blocked, id=5860, stack(0x041c0000,0x04200000)]
0x042ae000 JavaThread "GC Daemon" daemon [_thread_blocked, id=5292, stack(0x04140000,0x04180000)]
0x03a66400 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=8056, stack(0x03fb0000,0x03ff0000)]
0x03a63c00 JavaThread "RMI TCP Accept-9090" daemon [_thread_in_native, id=2664, stack(0x03f30000,0x03f70000)]
0x03a42c00 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=8832, stack(0x03da0000,0x03de0000)]
0x00f56800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4600, stack(0x039a0000,0x039e0000)]
0x00f47400 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=7060, stack(0x038f0000,0x03960000)]
0x00f46400 JavaThread "Attach Listener" daemon [_thread_blocked, id=3928, stack(0x03870000,0x038b0000)]
0x00f43000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4864, stack(0x037f0000,0x03830000)]
0x00f3c000 JavaThread "Finalizer" daemon [_thread_blocked, id=6164, stack(0x03770000,0x037b0000)]
0x00f3a800 JavaThread "Reference Handler" daemon [_thread_blocked, id=9004, stack(0x036f0000,0x03730000)]
0x00eba400 JavaThread "main" [_thread_in_native, id=4904, stack(0x00d80000,0x00df0000)]
Other Threads:
0x00efd400 VMThread [stack: 0x03640000,0x036b0000] [id=5172]
0x03a68400 WatcherThread [stack: 0x04090000,0x04100000] [id=9092]
VM state:synchronizing (normal execution)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x00eb8780] Threads_lock - owner thread: 0x00efd400
Heap
def new generation total 142208K, used 109631K [0x10340000, 0x1a9e0000, 0x1a9e0000)
eden space 113792K, 90% used [0x10340000, 0x167a60c0, 0x17260000)
from space 28416K, 24% used [0x18e20000, 0x194c9cd8, 0x1a9e0000)
to space 28416K, 0% used [0x17260000, 0x17260000, 0x18e20000)
tenured generation total 341376K, used 148495K [0x1a9e0000, 0x2f740000, 0x2f740000)
the space 341376K, 43% used [0x1a9e0000, 0x23ae3f10, 0x23ae4000, 0x2f740000)
compacting perm gen total 145408K, used 59874K [0x2f740000, 0x38540000, 0x38540000)
the space 145408K, 41% used [0x2f740000, 0x331b88a8, 0x331b8a00, 0x38540000)
ro space 10240K, 51% used [0x38540000, 0x38a73000, 0x38a73000, 0x38f40000)
rw space 12288K, 55% used [0x38f40000, 0x395de4f8, 0x395de600, 0x39b40000)
Code Cache [0x013b0000, 0x02378000, 0x033b0000)
total_blobs=6549 nmethods=6302 adapters=179 free_code_cache=17026624 largest_free_block=384
Dynamic libraries:
0x00400000 - 0x00417000 C:\Program Files (x86)\Tomcat\bin\Tomcat.exe
0x771c0000 - 0x77340000 C:\Windows\SysWOW64\ntdll.dll
0x76ac0000 - 0x76bd0000 C:\Windows\syswow64\kernel32.dll
0x752f0000 - 0x75336000 C:\Windows\syswow64\KERNELBASE.dll
0x758f0000 - 0x75990000 C:\Windows\syswow64\ADVAPI32.dll
0x75830000 - 0x758dc000 C:\Windows\syswow64\msvcrt.dll
0x74e10000 - 0x74e29000 C:\Windows\SysWOW64\sechost.dll
0x75710000 - 0x75800000 C:\Windows\syswow64\RPCRT4.dll
0x74d20000 - 0x74d80000 C:\Windows\syswow64\SspiCli.dll
0x74d10000 - 0x74d1c000 C:\Windows\syswow64\CRYPTBASE.dll
0x75ac0000 - 0x7670a000 C:\Windows\syswow64\SHELL32.dll
0x75290000 - 0x752e7000 C:\Windows\syswow64\SHLWAPI.dll
0x74d80000 - 0x74e10000 C:\Windows\syswow64\GDI32.dll
0x76760000 - 0x76860000 C:\Windows\syswow64\USER32.dll
0x758e0000 - 0x758ea000 C:\Windows\syswow64\LPK.dll
0x74e30000 - 0x74ecd000 C:\Windows\syswow64\USP10.dll
0x75340000 - 0x753a0000 C:\Windows\system32\IMM32.DLL
0x751c0000 - 0x7528c000 C:\Windows\syswow64\MSCTF.dll
0x6d810000 - 0x6dac0000 C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll
0x74140000 - 0x74172000 C:\Windows\system32\WINMM.dll
0x7c340000 - 0x7c396000 C:\Windows\system32\MSVCR71.dll
0x740f0000 - 0x7413c000 C:\Windows\system32\apphelp.dll
0x6d7c0000 - 0x6d7cc000 C:\Program Files (x86)\Java\jre6\bin\verify.dll
0x6d330000 - 0x6d34f000 C:\Program Files (x86)\Java\jre6\bin\java.dll
0x6d800000 - 0x6d80f000 C:\Program Files (x86)\Java\jre6\bin\zip.dll
0x76bd0000 - 0x76d2c000 C:\Windows\syswow64\ole32.dll
0x6d560000 - 0x6d569000 C:\Program Files (x86)\Java\jre6\bin\management.dll
0x6d610000 - 0x6d623000 C:\Program Files (x86)\Java\jre6\bin\net.dll
0x753e0000 - 0x75415000 C:\Windows\syswow64\WS2_32.dll
0x75990000 - 0x75996000 C:\Windows\syswow64\NSI.dll
0x74880000 - 0x748bc000 C:\Windows\system32\mswsock.dll
0x747d0000 - 0x747d6000 C:\Windows\System32\wship6.dll
0x748d0000 - 0x748e0000 C:\Windows\system32\NLAapi.dll
0x748c0000 - 0x748d0000 C:\Windows\system32\napinsp.dll
0x74830000 - 0x74874000 C:\Windows\system32\DNSAPI.dll
0x74820000 - 0x74828000 C:\Windows\System32\winrnr.dll
0x747e0000 - 0x747e5000 C:\Windows\System32\wshtcpip.dll
0x74800000 - 0x7481c000 C:\Windows\system32\IPHLPAPI.DLL
0x747f0000 - 0x747f7000 C:\Windows\system32\WINNSI.DLL
0x747c0000 - 0x747c6000 C:\Windows\system32\rasadhlp.dll
0x74780000 - 0x747b8000 C:\Windows\System32\fwpuclnt.dll
0x74750000 - 0x74766000 C:\Windows\system32\CRYPTSP.dll
0x744d0000 - 0x7450b000 C:\Windows\system32\rsaenh.dll
0x74030000 - 0x7403b000 C:\Windows\system32\profapi.dll
0x6d7a0000 - 0x6d7a8000 C:\Program Files (x86)\Java\jre6\bin\sunmscapi.dll
0x759a0000 - 0x75abd000 C:\Windows\syswow64\CRYPT32.dll
0x753d0000 - 0x753dc000 C:\Windows\syswow64\MSASN1.dll
0x6d630000 - 0x6d639000 C:\Program Files (x86)\Java\jre6\bin\nio.dll
0x10000000 - 0x10047000 C:\Windows\System32\corojdk11.dll
0x74ed0000 - 0x74f5f000 C:\Windows\syswow64\OLEAUT32.dll
0x75420000 - 0x754a3000 C:\Windows\syswow64\CLBCatQ.DLL
0x744c0000 - 0x744ce000 C:\Windows\system32\RpcRtRemote.dll
0x74180000 - 0x741df000 C:\Windows\system32\SXS.DLL
0x0b820000 - 0x0b853000 C:\Program Files (x86)\Tomcat\bin\HASPJava.dll
0x0b860000 - 0x0bb4d000 C:\Program Files (x86)\Tomcat\bin\hasp_windows_87368.dll
0x74c50000 - 0x74c57000 C:\Windows\system32\WSOCK32.DLL
0x6d000000 - 0x6d14c000 C:\Program Files (x86)\Java\jre6\bin\awt.dll
0x73c20000 - 0x73c71000 C:\Windows\system32\WINSPOOL.DRV
0x74430000 - 0x744b4000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_ec83dffa859149af\COMCTL32.dll
0x6eb40000 - 0x6eb53000 C:\Windows\system32\DWMAPI.DLL
0x6d230000 - 0x6d286000 C:\Program Files (x86)\Java\jre6\bin\fontmanager.dll
0x77190000 - 0x77195000 C:\Windows\system32\PSAPI.DLL
VM Arguments:
jvm_args: -Dcatalina.home=C:\Program Files (x86)\Tomcat -Dcatalina.base=C:\Program Files (x86)\Tomcat -Djava.endorsed.dirs=C:\Program Files (x86)\Tomcat\endorsed -Djava.io.tmpdir=C:\Program Files (x86)\Tomcat\temp -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=C:\Program Files (x86)\Tomcat\conf\logging.properties -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=c:\progra~2\tomcat -Xms500m -Xmx500m -XX:SurvivorRatio=4 -XX:PermSize=143m -XX:MaxPermSize=143m -Xss200k -XX:+PrintGC -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xloggc:TomcatGarbageCollection -Dcom.sun.management.jmxremote.port=9090 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote=true
java_command: <unknown>
Launcher Type: generic
Environment Variables:
PATH=Y:\Legato\nsr\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Tivoli\IBM\ITM\bin;c:\Tivoli\IBM\ITM\InstallITM;c:\Tivoli\IBM\ITM\TMAITM6;C:\Program Files (x86)\Tomcat\lib
USERNAME=NCDWSMNASP0101$
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 44 Stepping 2, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows NT 6.1 , 64 bit Build 7601 Service Pack 1
CPU:total 4 (1 cores per cpu, 1 threads per core) family 6 model 44 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt
Memory: 4k page, physical 4193848k(1041944k free), swap 8385852k(5027848k free)
vm_info: Java HotSpot(TM) Client VM (20.45-b01) for windows-x86 JRE (1.6.0_45-b06), built on Mar 26 2013 13:40:03 by "java_re" with MS VC++ 7.1 (VS2003)
time: Sun Feb 09 19:41:33 2014
elapsed time: 31207 secondsThanks a lot.
HASPJava.dll is used by verification License and is invoked less and can't use a lot of native memory.
Our business is communicating between java and COM component. In order to implement it, we used JavaCom to generate java class for COM component.
Memory of COM component is little, but Native Memory is high.
Who used JavaCom and did you meet this problem?
Please give me some suggestions. Thanks a lot. -
16,777,216.00 TB Private Memory
Hello.
This isn't really a problem more of a "huh?" type of thing.
When I open Activity Monitor, for about 5 seconds the WindowServer process says it is utilizing 16,777,216.00 TB of Private Memory. Just wanted to know if this happens to others and if it's a known "bug". It shows its normal amount after a bit.
A screenshot: http://img225.imageshack.us/img225/4949/picture105di1.png
nullHi,
I have the same problem with an Intel Mac Pro with 4GB RAM 10.4.11. It is making trouble shooting a bit difficult as it is showing on an application which is saying it is running out of memory.
Any ideas?
Cheers. -
CFMX 6.1's Virtual Memory Use problem!!
I appologise for the long post in advance...
Ok... so I have this script that, using cfdirectory, will
check a directory for any files that may have been uploaded, if
there are files, it loops through the results and reads the files
one at a time, line by line, using the FileReader.cfc (Uses the
Java FileInputStream, InputStreamReader, and BufferedReader to
provide a way to incrementally read large files). The files are
just pipe "|" delimited data, each line represents a record for a
db table.
Now as it's reading each line, it will perform some basic
string parsing to clean up the file line to make sure the data is
valid, blah blah blah and then it will write that "cleaned" line to
another file using FileWriter.cfc (Java component once again). Once
it's completely done reading the original file, it will close it
and it will open the new "cleaned" version of the file, read it
(FileReader.cfc), create an INSERT statement and then update the
database table.
Now... this all works GREAT... until it has to loop through
more than a few files... 3 - 4 files are NO problem! works like a
charm, but throw 6 - 8 files at it and it dies, not a timeout mind
you but an actual "java.lang.OutOfMemoryError" (now, I've tried
making all the files exactly the same (just changed the name) and
the weird thing is, it takes longer and longer to process each as
it goes through the loop... I have the script write some stats as
it's looping:
FILE 1 STATS
Name: COA0607_Intranet1.DAT
Status: Import Successfull
Line Count: 32,971
Processing Time: 74,237ms
FILE 2 STATS
Name: COA0607_Intranet2.DAT
Status: Import Successfull
Line Count: 32,971
Processing Time: 82,018ms
FILE 3 STATS
Name: COA0607_Intranet3.DAT
Status: Import Successfull
Line Count: 32,971
Processing Time: 94,476ms
FILE 4 STATS
Name: COA0607_Intranet4.DAT
Status: Import Successfull
Line Count: 32,971
Processing Time: 145,108ms
I know what you guy are probably thinking; "Woah man... CF
isn't really meant to do that kind of processing...", I know, trust
me I know... however, I really neeeeeed it too lol.
Ok, so as the script is running, I watch the Virtual Memory
use of jrun.exe, processing say 3 - 4 of these files brings up the
usage to approx 300,000k which yes, is a LOT but that's fine...
this process is meant to run at night via a Scheduled Task...
When I run more than 4 files, things start to get ugly, keep
in mind that these are EXACTLY the same files just re-named
differently. The script will start lagging BIG time and on the last
file (usually the last file) I'll see the memory usage spike from
350,000K all the way up to 600,000K and that's when it throws the
"java.lang.OutOfMemoryError" and dies... I've tried commenting out
the part of the script that updates the db, but still get the same
problem...
So... what gives? How come CF Server does this??? I mean, it
runs fine for the first few files... and then WAM, it dies... sorry
for the long post... any insight here is VERY much appreciated...
it would be AWESOME if the wonderful folks at Adobe could shed some
light on this for me : )
CFMX 6.1 version: 6,1,0,83762
Windows XP Pro SP2
Intel P4 2.8Ghz
1Gb of Ramquote:
Originally posted by:
Mr Black
300M memory usage while using "incremental" file reader??
Looks like it is "incremental" only in the sense that it increments
memory usage. Did you try non-Java C/C++ file reader tags?
Well I did try cffile originally... and it didn't even run...
lol -
The old allowing oracle 3GB virtual memory on windows 2003 server question?
Hi all,
I have a 9.2.0.7.0 database on windows 2003 server (32bit). 4 dual core cpu's and 16GB of Ram.
I have set .use_indirect_data_buffers=TRUE and *._enable_NUMA_optimization=FALSE.
The db_block_buffers is set at 4GB.
Shared_pool 200MB
Large_pool 56MB
Java pool 56MB
PGA is currently at 400MB
AWE_WINDOW_MEMORY is set at 720MB (which is the lowest I can set it)
At the moment there are various jobs running on the database and no users logged on and the virtual memory is at 1.8GB.
The problem is as soon as the users logs onto the DB the virtual memory goes over 2GB and we see the error 'ORA-04030: out of process memory when trying to allocate 2416 bytes'.
Now I have edited the boot.ini with the following parameters:
multi(0)disk(0)rdisk(0)partition(1)\WINNT="UBS WSP - Wintel Server Platform with PAE" /fastdetect /PAE /4GT
because the /3GB parameter switch started the server with lots of errors.
The oracle.exe process still seems unable to go over the 2GB limit with getting 'ORA-04030' errors.
Can someone tell me if I have missed anything? Or a reason why oracle is not using the switch?
TIA
EddySatish,
see metalink Note:1036312.6 : Utilizing Up to 3GB Virtual Memory on Windows.
it says :
"The 32-bit versions of the Windows® 2000 Advanced Server and Windows NT Server 4.0, Enterprise Edition, operating systems were the first versions of Windows to provide applications with a 3-GB flat virtual address space, with the kernel and executive components using only 1 GB. In response to customer requests, Microsoft has expanded the availability of this support to the 32-bit version of Windows XP Professional and all 32-bit versions of Windows Server™ 2003."
of course, we mustn't be mistaken with the AWE switch (/PAE) that is not available for standard edition.
http://support.microsoft.com/kb/291988 ==> tells more about what can be supported
regards,
marc -
The crash happened outside the java virtual machine in native code
Hi,
I have a biometric device with which I am given some C++ dlls. I am trying to call methods inside these using java (jna). I am loading the dll "zkemsdk.dll+" as follows:
zkemkeeper INSTANCE1 = (zkemkeeper)Native.loadLibrary("zkemsdk", zkemkeeper.class);//zkemsdk is the dll, I am loading the dll here.
Then, I am calling the function:
zkemkeeper.INSTANCE1.Z_Connect_NETEX("ip address",4370);//Z_Connect_NETEX is a function inside zkemsdk.dll
This returns me true or false based on whether am connected to the biometric device or not.Thus I am able to invoke this method without issues. But for other methods inside the dll, run time exception is thrown in console:
Can someone help me resolve this issue. ??? Following is the content of the log file generated.
# A fatal error has been detected by the Java Runtime Environment:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0351fe3b, pid=1664, tid=3832
# JRE version: 6.0_20-b02
# Java VM: Java HotSpot(TM) Client VM (16.3-b01 mixed mode, sharing windows-x86 )
# Problematic frame:
# C [zkemsdk.dll+0xfe3b]
# If you would like to submit a bug report, please visit:
# http://www.java.net/external?url=http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
--------------- T H R E A D ---------------
Current thread (0x003a9000): JavaThread "main" [_thread_in_native, id=3832, stack(0x008c0000,0x00910000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x00000106
Registers:
EAX=0x0090f7c4, EBX=0x00000001, ECX=0x00000000, EDX=0x00000001
ESP=0x0090f7b4, EBP=0x0090f848, ESI=0x00000096, EDI=0x003a9000
EIP=0x0351fe3b, EFLAGS=0x00010216
Top of Stack: (sp=0x0090f7b4)
0x0090f7b4: 00000000 0090f930 000003fc 00000103
0x0090f7c4: 0090f800 6d9532d0 373e92a0 00912ec5
0x0090f7d4: 00000401 0090f7d8 369860d1 0090f800
0x0090f7e4: 37390050 00000000 37390f90 00000000
0x0090f7f4: 0090f800 0090f930 003a9000 0090f830
0x0090f804: 10008fd8 0090f840 0090f930 00000008
0x0090f814: 0090f88c 0090fa28 0090f8f4 0090f848
0x0090f824: eb53f637 0351ffdc 00000096 00000003
Instructions: (pc=0x0351fe3b)
0x0351fe2b: 0f 53 50 8d 44 24 18 50 e8 58 7c 00 00 83 c4 0c
0x0351fe3b: 8b 4e 70 51 8b 0e 83 c3 04 53 6a 64 8d 54 24 18
Stack: [0x008c0000,0x00910000], sp=0x0090f7b4, free space=13d0090f2e8k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [zkemsdk.dll+0xfe3b]
C [jna5972695927945545932.tmp+0x9182]
C [jna5972695927945545932.tmp+0x2161]
C [jna5972695927945545932.tmp+0x2849]
j com.sun.jna.Function.invokeInt(I[Ljava/lang/Object;)I+0
j com.sun.jna.Function.invoke([Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;+90
j com.sun.jna.Function.invoke(Ljava/lang/Class;[Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/Object;+194
j com.sun.jna.Library$Handler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+344
j $Proxy0.Z_Beep(J)Z+19
j com.rfarrays.bhabs.fingerPrint.main([Ljava/lang/String;)V+84
v ~StubRoutines::call_stub
V [jvm.dll+0xf049c]
V [jvm.dll+0x17fcf1]
V [jvm.dll+0xf051d]
V [jvm.dll+0xf9bc5]
V [jvm.dll+0x10181d]
C [javaw.exe+0x2155]
C [javaw.exe+0x8614]
C [kernel32.dll+0xb729]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.sun.jna.Function.invokeInt(I[Ljava/lang/Object;)I+0
j com.sun.jna.Function.invoke([Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;+90
j com.sun.jna.Function.invoke(Ljava/lang/Class;[Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/Object;+194
j com.sun.jna.Library$Handler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+344
j $Proxy0.Z_Beep(J)Z+19
j com.rfarrays.bhabs.fingerPrint.main([Ljava/lang/String;)V+84
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x02b10c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1976, stack(0x02dc0000,0x02e10000)]
0x02b0a400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1280, stack(0x02d70000,0x02dc0000)]
0x02b08c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=1984, stack(0x02d20000,0x02d70000)]
0x02b07800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2160, stack(0x02cd0000,0x02d20000)]
0x02b02400 JavaThread "Finalizer" daemon [_thread_blocked, id=2052, stack(0x02c80000,0x02cd0000)]
0x02afd800 JavaThread "Reference Handler" daemon [_thread_blocked, id=752, stack(0x02c30000,0x02c80000)]
=>0x003a9000 JavaThread "main" [_thread_in_native, id=3832, stack(0x008c0000,0x00910000)]
Other Threads:
0x02afc400 VMThread [stack: 0x02be0000,0x02c30000] [id=1504]
0x02b1b800 WatcherThread [stack: 0x02e10000,0x02e60000] [id=1980]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 4928K, used 2455K [0x22970000, 0x22ec0000, 0x27ec0000)
eden space 4416K, 55% used [0x22970000, 0x22bd5db0, 0x22dc0000)
from space 512K, 0% used [0x22dc0000, 0x22dc0000, 0x22e40000)
to space 512K, 0% used [0x22e40000, 0x22e40000, 0x22ec0000)
tenured generation total 10944K, used 0K [0x27ec0000, 0x28970000, 0x32970000)
the space 10944K, 0% used [0x27ec0000, 0x27ec0000, 0x27ec0200, 0x28970000)
compacting perm gen total 12288K, used 343K [0x32970000, 0x33570000, 0x36970000)
the space 12288K, 2% used [0x32970000, 0x329c5f20, 0x329c6000, 0x33570000)
ro space 10240K, 51% used [0x36970000, 0x36e9ae00, 0x36e9ae00, 0x37370000)
rw space 12288K, 54% used [0x37370000, 0x37a072d8, 0x37a07400, 0x37f70000)
Dynamic libraries:
0x00400000 - 0x00424000 C:\Program Files\Java\jre6\bin\javaw.exe
0x7c900000 - 0x7c9b2000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f6000 C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f03000 C:\WINDOWS\system32\RPCRT4.dll
0x77fe0000 - 0x77ff1000 C:\WINDOWS\system32\Secur32.dll
0x7e410000 - 0x7e4a1000 C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f59000 C:\WINDOWS\system32\GDI32.dll
0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.DLL
0x7c340000 - 0x7c396000 C:\Program Files\Java\jre6\bin\msvcr71.dll
0x6d800000 - 0x6da97000 C:\Program Files\Java\jre6\bin\client\jvm.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
0x6d7b0000 - 0x6d7bc000 C:\Program Files\Java\jre6\bin\verify.dll
0x6d330000 - 0x6d34f000 C:\Program Files\Java\jre6\bin\java.dll
0x6d290000 - 0x6d298000 C:\Program Files\Java\jre6\bin\hpi.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
0x6d7f0000 - 0x6d7ff000 C:\Program Files\Java\jre6\bin\zip.dll
0x68000000 - 0x68036000 C:\WINDOWS\system32\rsaenh.dll
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll
0x769c0000 - 0x76a74000 C:\WINDOWS\system32\USERENV.dll
0x5b860000 - 0x5b8b5000 C:\WINDOWS\system32\netapi32.dll
0x6d610000 - 0x6d623000 C:\Program Files\Java\jre6\bin\net.dll
0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
0x71a50000 - 0x71a8f000 C:\WINDOWS\System32\mswsock.dll
0x76f20000 - 0x76f47000 C:\WINDOWS\system32\DNSAPI.dll
0x76d60000 - 0x76d79000 C:\WINDOWS\system32\iphlpapi.dll
0x76fb0000 - 0x76fb8000 C:\WINDOWS\System32\winrnr.dll
0x76f60000 - 0x76f8c000 C:\WINDOWS\system32\WLDAP32.dll
0x76fc0000 - 0x76fc6000 C:\WINDOWS\system32\rasadhlp.dll
0x10000000 - 0x10052000 C:\Documents and Settings\bkonwar\Local Settings\Temp\jna5972695927945545932.tmp
0x03510000 - 0x03546000 C:\WINDOWS\system32\zkemsdk.dll
0x03560000 - 0x03574000 C:\WINDOWS\system32\commpro.dll
0x662b0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
0x71a90000 - 0x71a98000 C:\WINDOWS\System32\wshtcpip.dll
VM Arguments:
jvm_args: -Dfile.encoding=Cp1252
java_command: com.xyz.bhabs.fingerPrint
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:/Program Files/Java/jre6/lib/i386;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;;C:\Program Files\Java\jre1.6.0_07\bin;C:\Program Files\Android\android-sdk-windows\tools;C:\Program Files\TortoiseSVN\bin
USERNAME=BKonwar
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows XP Build 2600 Service Pack 3
CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 13, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
Memory: 4k page, physical 2085780k(1286036k free), swap 4024188k(3249652k free)
vm_info: Java HotSpot(TM) Client VM (16.3-b01) for windows-x86 JRE (1.6.0_20-b02), built on Apr 12 2010 13:52:23 by "java_re" with MS VC++ 7.1 (VS2003)
time: Wed May 25 10:02:24 2011
elapsed time: 21 seconds
Regards,
Bhabs
Edited by: 861222 on May 25, 2011 12:19 AM861222 wrote:
# A fatal error has been detected by the Java Runtime Environment:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0351fe3b, pid=1664, tid=3832Not much to tell here. This line here looks suspiciously like a null-pointer error happening in the native code. It is impossible to say how, where and why. Go back to your code and start debugging I'd say, see where invalid data can be passed to the native code. -
Could not initialize the Java Virtual Machine
While trying to configure the turnkey product I encounter an error in starting the JBoss for Adobe LiveCycle ES v8.0 service. The JBossService.exe ends up showing in the task list - but the service shows its status as "starting" and an enty stating: "Could not initialize the Java Virtual Machine" is placed in the event log. I've seen a posting on this form that traced at least some of these symptoms to the account under which the service is configured to run - but I don't believe that solution applies in this case - I'm starting the service under the System Account which has all the permissions it needs to start the service.
Thanks very much for the suggestion. Indeed, the problem turned out to be memory related - I was able to correct the issue by updating the registry keys "JVM Option Number 4" and "JVM Option Number 5" so specify lower values. For some reason the system didn't like the 1024 meg size that was set by default (our server has 2 gig of memory).
-
"Hi,
I try and understand the mechanism of garbage collection of the Java Virtual Machine : Hewlett-Packard Hotspot release 1.3.1.01.
There is description of this mechanism in the pdf file : "memory management and garbage collection" available at the paragraph "Java performance tuning tutorial" at the page :
http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,1607,00.html
Regarding my question :
Below is an extract of the log file of garbage collections. This extract has 2 consecutive garbage collections.
(each begins with "<GC:").
<GC: 1 387875.630047 554 1258496 1 161087488 0 161087488 20119552 0 20119552
334758064 238778016 335544320
46294096 46294096 46399488 5.319209 >
<GC: 5 387926.615209 555 1258496 1 161087488 0 161087488 0 0 20119552
240036512 242217264 335544320
46317184 46317184 46399488 5.206192 >
There are 2 "full garbage collections", one of reason "1" and one of reason "5".
For the first one "Old generation After " =238778016
For the second "Old generation After " =238778016
Thus, "Old generation Before garbage collection" of the second is higher than "Old generation After garbage collection". Why?
I expected all objects to be allocated in the "Eden" space. And therefore I did not expect to sI agree but my current Hp support is not very good on JVM issues.
Rob Woollen <[email protected]> wrote:
You'd probably be better off asking this question to HP.
-- Rob
Martial wrote:
The object of this mail is the Hewlett-Packard 1.3.1.01 Hotspot JavaVirtual Machine
release and its garbage collection mechanism.
I am interested in the "-Xverbosegc" option for garbage collectionmonitoring.
I have been through the online document :
http://www.hp.com/products1/unix/java/infolibrary/prog_guide/java1_3/hotspot.html#-Xverbosegc
I would like to find out more about the garbage collection mechanismand need
further information to understand the result of the log file generatedwith the
"-Xverbosegc"
For example here is an extract of a garbage collection log file generatedwith
Hewlett-Packard Hotspot Java Virtual Machine. Release 1.3.1.01.
These are 2 consecutive rows of the files :
<GC: 5 385565.750251 543 48 1 161087488 0 161087488 0 0 20119552 264184480255179792
335544320 46118384 46118384 46137344 5.514721 >
<GC: 1 385876.530728 544 1258496 1 161087488 0 161087488 20119552 020119552 334969696
255530640 335544320 46121664 46106304 46137344 6.768760 >
We have 2 full garbage collections, one of Reason 5 and the next oneof Reason
1.
What happened between these 2 garbage collections as we got : "Oldgeneration
After" of row 2 is higher than "Old generation Before" of row 1? Iexpected Objects
to be initially allocated in eden and so we could not get "old generation2modified
between the end of one garbage collection and before the next one.
Could you please clarify this issue and/or give more information aboutgarbage
collection mechanisms with the Hewlett-Packard Hotspot Java VirtualMachine. Release
1.3.1.01. -
Swapping Entire JVM to Virtual Memory (1.4.2_15 / Windows 2003)
I am running *3 instances* of Apache Tomcat on Windows 2003 using JVM 1.4.2_15 with the following JVM options:
-server -Xmx768m -Xms512m -Xmn256m -Xss128k -verbose:gc
-XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:SurvivorRatio=8
-XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=31 -XX:+PrintGCDetailsThe machine has 4GB of Ram, but the entire JVM swaps out to virtual memory when not in use. Then, when a user logs into the application it loads up the main memory from the swap. The java.exe process is constantly going from 10MB to 300MB and back, over and over. Most of the time there is 3GB of main memory free. I believe the application has many JARs loading, so the permanent space is important. There is not too much garbage collection happening, so it seems like the memory params are correct.
How do I stop the JVM from using so much swap and utilize main memory instead?If the JVM's pages are being swapped out, it's because the OS believes it would be better to use the memory for something else (e.g. file cache) because the JVM isn't using the memory.
So you could make the JVM more active, the rest of the system less active, or lock the pages in memory. I think the last option can be done with the -XX:+UseLargePages option: [http://java.sun.com/javase/technologies/hotspot/largememory.jsp]. However, I think it requires Windows 2003. -
Weblogic 9.2 server not starting up : Could not create the Java virtual mac
Hi
I have created Weblogic domain.
Now I am trying to bring my server up by using the startWeblogic.cmd present in domain\bin.
I get the following error -
java version "1.5.0_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode)
Unrecognized option: -
Could not create the Java virtual machine.
The output when i run the start script is as follows -
JAVA Memory arguments: -Xms1024m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSize=256m -XX:MaxPermSize=256m
WLS Start Mode=Development
CLASSPATH=S:local;;D:\bea\patch_weblogic923\profiles\default\sys_manifest_classpath\weblogic_patch.jar;P:\JDK150~1\lib\tools.jar;D:\bea\WEBLOG~1\server\lib\weblogic_sp.jar;D:\bea\WEBLOG~1\server\lib\weblogic.jar;D:\bea\WEBLOG~1\server\lib\webservices.jar;;D:\bea\WEBLOG~1\common\eval\pointbase\lib\pbclient51.jar;D:\bea\WEBLOG~1\server\lib\xqrl.jar;;Q:\VODAFO~1\lib\WSDLProxy.jar;
PATH=D:\bea\patch_weblogic923\profiles\default\native;D:\bea\WEBLOG~1\server\native\win\32;D:\bea\WEBLOG~1\server\bin;P:\JDK150~1\jre\bin;P:\JDK150~1\bin;D:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\DMIX;C:\Program Files\TortoiseSVN\bin;D:\ProgramFiles\Rational\common;C:\Program Files\CVSNT\;D:\bea\WEBLOG~1\server\native\win\32\oci920_8
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
Starting WLS with line:
P:\JDK150~1\bin\java -client -Xms1024m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSize=256m -XX:MaxPermSize=256m -Xverify:none -da -Dplatform.home=D:\bea\WEBLOG~1 -Dwls.home=D:\bea\WEBLOG~1\server -Dwli.home=D:\bea\WEBLOG~1\integration -Dweblogic.management.discover=true -Dweblogic.http.descriptor.merge=true -Dejbruntime.database=pointbase44 -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=D:\bea\patch_weblogic923\profiles\default\sysext_manifest_classpath -Djava.protocol.handler.pkgs=com.vodafone.vgsg.wsdlproxy -Dcom.vodafone.vgsg.wsdlproxy.protocol=http -Dcom.vodafone.vgsg.wsdlproxy.host=localhost -Dcom.vodafone.vgsg.wsdlproxy.port=7001 -Dweblogic.Name=portalServer -Djava.security.policy=D:\bea\WEBLOG~1\server\lib\weblogic.policy - weblogic.Server
I checked all configurations. All seem fine but I am surely missing something.
I recreated the domain thinking I messed up something but that did not help.
I tried using jrockit instead of sun jdk. It still could not create JVM.
I really appreciate any help!
Regards,
SmitaExtra dash in the java start line ( before the weblogic.Server ):
-Dweblogic.Name=portalServer -Djava.security.policy=D:\bea\WEBLOG~1\server\lib\weblogic.policy - weblogic.Server
might be why you get the message:
Unrecognized option: -
I can get the same error with this example:
/bin> java -
Unrecognized option: -
Could not create the Java virtual machine. -
I'm running java processes (specifically Tomcat) on a linux system with not too much available memory and I run into a lots of problems as java seems to consume a lot more memory than it would need.
To understand the problem I created this "unit test":
[root@vps download]# ulimit -v unlimited
[root@vps download]# java -version
java version "1.5.0_14"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
Java HotSpot(TM) Client VM (build 1.5.0_14-b03, mixed mode)
[root@vps download]# ulimit -v 230000
[root@vps download]# java -version
java version "1.5.0_14"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
Java HotSpot(TM) Client VM (build 1.5.0_14-b03, mixed mode)
[root@vps download]# ulimit -v 220000
[root@vps download]# java -version
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.As you can see the java vm won't start up when the allowed virtual memory is under 230 Mb, which is an amount of memory I can't give java in a virtual server. I have tried limiting the memory consumption with any memory option I could find (starting with the famous -Xmx and -Xms ones) but always with the same results and problems.
By running Tomcat and using "top" I noticed java requests over 250 Mb virtual memory, while actually using only around 35 Mb. I would be glad to allow this process to reserve up to 100Mb in virtual memory, but over that seems crazy, since I perfectly know my tomcat instance will never require that much memory and since I cannot "afford" all that memory usage from a single process. With that kind of consumption I can't even stop tomcat using the ordinary script (the shutdown.sh script will start another vm to send the stop signal to tomcat but since the first one is already consuming 250 Mb virtual memory and the second one tries to allocate as much I will get the heap error message as my server can't allocate that much total memory on top of the other processes).
What solutions are there to stop java from reserving memory it won't use?ingoio256 wrote:
First I quote yourself from another (someway similar) thread:
"Under Linux, the OS allows over-allocation of memory (which means it can reserve memory that it doesn't have the physical RAM or swap file to back it up with)"
If I was able to do that my problems would be solved: in fact my system doesn't have enough physical+swap memory, but since a lot less will be used by java processes if I was able to instruct the system to allocate it even if it's not available I would have my problems solved.
Any idea about where I can find help on doing that?It may already be doing that; under Linux, I believe it only looks for memory to back up the allocation when the page is touched. Whether the java process touches all the memory it allocates, I don't know. Maybe it behaves differently when there's no page file.
The second question is the following:
I noticed java processes on the windows system don't use as much virtual memory as it happens in my vps: the reported virtual memory allocation is just slightly above the used physical one. Does that depend on a different implementation or does it happen after some time the jvm is running, with unused virtual memory being given back to the system? If the latter was right it would partly ease the problem as I would just need for the java process to be running for a while and then I would have some system resources released. If it's not the case... how can I have linux behave similarly to windows? As in this case it seems more efficient ;)Regarding the memory usage difference, I don't know why that is.
I've seen people say that the Sun JVM doesn't return memory to the OS after it allocates, but I'm not sure of this. This is another aspect that a different JVM implementation could help with. I think IBM and BEA both have their own implementations you could check out. -
Start up Error: "Could not create the Java virtual machine"
I downloaded WebLogic Platform 10.3.0.0 (net_server103_win32.exe) and installed it on my Windows Vista laptop.
I am unable to start the server.
From Start menu I selected (WebLogic ServerExamples-->Start Examples Server)
The following output displayed in the console window:
JAVA Memory arguments: -Xms256m -Xmx512m
WLS Start Mode=Development
CLASSPATH=C:\bea\wlserver_10.3\samples\server\examples\build\serverclasses;C:\be
a\patch_wlw1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\be
a\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\be
a\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\bea
\JROCKI~1\lib\tools.jar;C:\bea\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\bea\WLSE
RV~1.3\server\lib\weblogic.jar;C:\bea\modules\features\weblogic.server.modules_1
0.3.0.0.jar;C:\bea\WLSERV~1.3\server\lib\webservices.jar;C:\bea\modules\ORGAPA~1
.5/lib/ant-all.jar;C:\bea\modules\NETSFA~1.0_1/lib/ant-contrib.jar;;C:\bea\WLSER
V~1.3\common\eval\pointbase\lib\pbembedded57.jar;C:\bea\WLSERV~1.3\common\eval\p
ointbase\lib\pbclient57.jar;C:\bea\WLSERV~1.3\server\lib\xqrl.jar;;
PATH=C:\bea\patch_wlw1030\profiles\default\native;C:\bea\patch_wls1030\profiles\
default\native;C:\bea\patch_cie660\profiles\default\native;C:\bea\WLSERV~1.3\ser
ver\native\win\32;C:\bea\WLSERV~1.3\server\bin;C:\bea\modules\ORGAPA~1.5\bin;C:\
bea\JROCKI~1\jre\bin;C:\bea\JROCKI~1\bin;C:\Windows\system32;C:\Windows;C:\Windo
ws\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE;C:\Program Files\Comm
on Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLS
hared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Program File
s\QuickTime\QTSystem\;C:\Program Files\Java\jre1.6.0\bin;C:\groovy\Groovy-1.5.7\
bin;C:\Sun\SDK\bin;C:\Sun\SDK\jdk\bin;C:\bea\WLSERV~1.3\server\native\win\32\oci
920_8
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
BEA JRockit(R) (build R27.6.0-50_o-100423-1.6.0_05-20080626-2105-windows-ia32, c
ompiled mode)
Starting WLS with line:
C:\bea\JROCKI~1\bin\java -jrockit -Xms256m -Xmx512m -Xverify:none -da -Dplat
form.home=C:\bea\WLSERV~1.3 -Dwls.home=C:\bea\WLSERV~1.3\server -Dweblogic.home=
C:\bea\WLSERV~1.3\server -Dweblogic.management.discover=true -Dwlw.iterativeD
ev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\bea\patc
h_wlw1030\profiles\default\sysext_manifest_classpath;C:\bea\patch_wls1030\profil
es\default\sysext_manifest_classpath;C:\bea\patch_cie660\profiles\default\sysext
manifestclasspath -Dweblogic.Name=examplesServer -Djava.security.policy=C:\bea
\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
Could not create the Java virtual machine.
Stopping PointBase server...
PointBase server stopped.
C:\bea\wlserver_10.3\samples\domains\wl_server>
Does anyone have any suggestions on how to troubleshoot this problem?
Thank you,
B. ReganI do not know how to modify any startup parameters. I am new to WebLogic and downloaded and installed the server for the first time yesterday. I used all of the defaults for the install. To start the server I am using Windows Start menu like this:
Start-->All Programs-->Oracle WebLogic-->WebLogic Server 10gR3-->Examples-->Start Examples Server
A command prompt window opens and the messages I described earlier display in the window.
These were the messages when I used another command window to call the example server domain's bin\setDomainEnv.cmd script and then execute java -version (as suggested in the earlier post):
C:\bea\wlserver_10.3\samples\domains\wl_server>java -version
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
BEA JRockit(R) (build R27.6.0-50_o-100423-1.6.0_05-20080626-2105-windows-ia32, c
ompiled mode)
I see now that when I go to
Start-->All Programs-->Oracle WebLogic-->WebLogic Server 10gR3-->Examples
that there is an option to "Stop Example Server" When I choose that option another command window opens, a couple of messages scroll by, there's a pause at a "connecting to t3://localhost:7001" then a bunch of message flash by and the command window disappears. So I can't capture the output of that command.
I tried rebooting my laptop but no change in the behavior.
There is some good news. I tried starting the Medical Records Server. That command succeeded. I will see what I can learn through using the Medical Records Server and ignore the Examples Server for now.
Thank you for the suggestions.
B.Regan -
Could not create the Java virtual machine
Hello...
This is my jdev version 11.1.1.5.0
When I am running my project i am getting this type of error so what can i do for that
Here is that error:
*** Using port 7101 ***
"C:\Documents and Settings\Administrator\Application Data\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\bin\startWebLogic.cmd"
[waiting for the server to complete its initialization...]
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
WLS Start Mode=Development
CLASSPATH=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;C:\Oracle\MIDDLE~1\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.5.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;C:\Program Files\Java\jdk1.6.0_16;.;
PATH=C:\Oracle\MIDDLE~1\patch_wls1035\profiles\default\native;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;C:\Oracle\MIDDLE~1\JDK160~1\jre\bin;C:\Oracle\MIDDLE~1\JDK160~1\bin;D:\app\Administrator\product\11.2.0\dbhome_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Java\jdk1.6.0_16\bin;.;;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b50)
Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode)
Starting WLS with line:
C:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Dcommon.components.home=C:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\DOCUME~1\ADMINI~1\APPLIC~1\JDEVEL~1\SYSTEM~1.13\DEFAUL~1 -Djrockit.optfile=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=C:\DOCUME~1\ADMINI~1\APPLIC~1\JDEVEL~1\SYSTEM~1.13\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.domain.config.dir=C:\DOCUME~1\ADMINI~1\APPLIC~1\JDEVEL~1\SYSTEM~1.13\DEFAUL~1\config\FMWCON~1 -Digf.arisidbeans.carmlloc=C:\DOCUME~1\ADMINI~1\APPLIC~1\JDEVEL~1\SYSTEM~1.13\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\DOCUME~1\ADMINI~1\APPLIC~1\JDEVEL~1\SYSTEM~1.13\DEFAUL~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\DOCUME~1\ADMINI~1\APPLIC~1\JDEVEL~1\SYSTEM~1.13\DEFAUL~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\DOCUME~1\ADMINI~1\APPLIC~1\JDEVEL~1\SYSTEM~1.13\DEFAUL~1\servers\DefaultServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\DOCUME~1\ADMINI~1\APPLIC~1\JDEVEL~1\SYSTEM~1.13\DEFAUL~1\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_wls1035\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Server
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Process exited.Yesterday when i run that project at that time it successful compile and got output.
Today morning when i login in my PC and again i run that project once from there i am getting that massage......
Maybe you are looking for
-
my iPad mini is displaying a padlock with a circled arrow around it. what does this mean?
-
Concurrent makes my data double!
Dear friends, The question as follows: I have one table named my_tab which has tow columns ID(PK) and NAME. my_tab firstly has no datas.and remeber there are a constant that value is "Oracle" . I have write a pl/sql package one of its procedure will
-
Mail send error from Jive forum
Hi Gurus, I have a problem: in our portal implemented a jive forum, but we cannot send any mail from forum. The portal send mail (e.g. if I create a new collaboration room, I get the invite mail). What should I configure to repair this bug? Thanks fo
-
Photoshop CS5, Elements 9 won't open
For no apparent reason the programs won't open. As a side note neither will OnOne Photsuite 7. Scanned for viruses, and computer is clean. Any ideas? Thanks, Jim
-
My 3 TB external hard drive (My Book Studio) is my Time Machine drive. But Finder says that backup.backupdb is 6.9 TB in size, or over twice the drive's capacity. Should I assume that the drive is corrupt or failing and that I can't rely on Time Ma