Activity Monitor - Java Virtual Memory Use is 16,333.00 TB. How is this possible?
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 half
As 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.
Similar Messages
-
Activity Monitor shows virtual memory usage is way too high
35 Gb of virtual memory for Safari, Mail, iTunes, Activity Monitor and all running processes!
Why these numbers are so high compared to Tiger? Can someone please explain? Is it a bug or something or is it the new way introduced with Leopard?
RAM and CPU usage looks fine though but this VM usage seems too high to me. I will run out of disk space after a couple of days of runtime. And the Adobe Creative Suite is not even running. Jeez...
Message was edited by: flec65Thanks for the hint Niel.
The /private/var/vm folder is actually only 64 Mb. I can calm myself now...
(via Go menu in the Finder, select Go to Folder and type /private/var/vm to access it)
But why is Activity Monitor behaving like this in Leopard? -
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 -
Why dose my activity monitor say I'm using more in tasks then in total?
Why dose my activity monitor say I'm using more in tasks then in total?
see how Guild Wars 2 uses 92.8% yet the total use is 12.03%, 86.54% is idle and the system is using 1.4% why is this?Cortess,
they’re two orthogonal percentage measurements. For the “% CPU” column in Activity Monitor, the total percent available depends upon your hardware: a single-core CPU has 100% available, a dual-core CPU has 200% available, and a quad-core CPU has 400% available. (The column might have been better labeled “% Cores”.) For the System/User/Idle at the bottom of the window, those represent a total of 100% of whatever your hardware comprises. For example, if you have a quad-core CPU, then your total System usage would be 400% of 1.43%, or a total of 5.72% in the “% CPU” column. Similarly, your total User usage would be 400% of 12.03%, or a total of 48.12% in the “% CPU” column. The percentage value for Guild Wars 2 might have been magnified because of its dependence upon your MacBook Pro’s discrete GPU. -
Planning to add memory to 3 GB installed. Resource Monitor says Percent Memory Used never exceeds 50%. Is this normal? If so, why? If not, what should I do?
If it's telling the truth, you don't need more physical RAM. We don't see anything else unusual in the measurements.
But that does seem suspicious. What happens to Hard Faults/sec as you increase the memory usage?
Can't hurt to read up on this. Maybe it will give you another idea on how to determine if there's something fishy in the measurement.
Here's an article on using Resource Monitor to measure memory from Tech Republic.
Investigate memory usage with Windows 7 Resource Monitor
And here's a blog by Ed Bott.
Windows 7 memory usage: What's the best way to measure?
Mark Russinovich (of Microsoft now) blogged a bit on how Windows 7 uses memory.
Pushing the Limits of Windows: Physical Memory
As Mark suggests, you might want to set up Performance Monitor (perfmon -sys) to graph available memory using the Available Bytes counter.
Please let us know what you learn.
-Jerry -
Trying to update adobe flash, keep getting 'quit dashboard client'. Everytime I try to, it pops back up. Even after going to activity monitor and force quitting. What is it and how can I quit it so I can install this update??
Restart the computer from Apple menu.
When restart dialog box appears, uncheck the box beside
"Reopen windows when logging back in". -
I want to shoot a movie on my iPhone and edit it on my iPad using the iMovie app. How can this be done via iTunes on my computer?
You can't drag video into the filesharing pane of iTunes, you can only transfer projects.
Videos need to come in via the photos tab of iTunes.
The easiest way to get videos from the iPhone to the iPad is via the project export import.
Projects can be exported from the iPhone, then imported to the iPad like this:
iPhone Send a project or trailer to iTunes
If the marquee screen isn’t showing, tap the My Projects button .
Scroll to center the project or trailer you want to share.
Tap the Share button at the bottom of the screen, and then tap iTunes; tap OK when iMovie indicates that export is complete.
Connect your device to your computer, and then open iTunes on your computer.After a moment, your device appears in iTunes, below Devices on the left.
Select the device, and then click Apps at the top of the iTunes window.
Select iMovie in the Apps list below File Sharing. (You may need to scroll to see it.)
In the iMovie Documents pane, select the file you just shared, and then click the “Save to” button; save the file to your computer in a place where you can find it easily.You can also save the file by dragging it to the desired location on your computer.
Disconnect the device from your computer.
iPad Import a project or trailer from iTunes
Connect your device to your computer, and open iTunes on your computer.After a moment, your device appears in iTunes, below Devices on the left.
Select the device, and click Apps at the top of the iTunes window.
Select iMovie in the Apps list below File Sharing. (You may need to scroll to see it.)
Click Add below the iMovie Documents pane; in the window that appears, navigate to the file you want to add.
Select the file, and then click Open to copy the file to your device.The file appears in the iMovie Documents pane when copying is complete.
Open iMovie on your device; if the marquee screen isn’t showing, tap the My Projects button in the upper-left corner above the viewer.
Tap the Import button at the bottom of the screen, and then tap the name of the project you want to import.When the import is complete, the project opens and can be edited like any other project. -
when i send a text message with my new iphone 5 to my wife who is now using my old Iphone 4 we both receive the message. How is this possible? Also she receives all text messages sent to me. She obviously has a different phone number and a different provider
See here to create a new apple ID
http://support.apple.com/kb/HE37
good luck -
I have an ipad and iphone sharing icloud. The ipad is using 268mb, the iphone 2.6. My plan is 5gb but it keeps saying I don't have enough space to back them up. How is this possible?
Hey sameyrs2,
Thanks for the question. Based on what you stated, it seems like you are getting a message when trying to backup to iCloud. I would recommend that you read these articles, they may be helpful in troubleshooting your issue.
iCloud: Understanding Backup alert messages
Manage your iCloud storage
Thanks for using Apple Support Communities.
Cheers,
Mario -
My iphone 6 turned off while i was using face time and it returns with the screen saying Hello mean its reset automatically how is this possible ? Now it requires an id and password to activate which i do not remember need help ? but i do remember the id and password which i was using on itunes and Apple store. please i almoost buy it in 890$ so it will be a big lost please help me.
shahzadfromlahore wrote:
Now it requires an id and password to activate which i do not remember need help ? but i do remember the id and password which i was using on itunes and Apple store. please i almoost buy it in 890$ so it will be a big lost please help me
Who set up the phone? Who's Apple ID was used to activate it? -
I have turned off the Data use on the I-phone 4s but am told by AT&T that data is still being used for applications. How is this possible. Can someone help me understand this.
I assume you are including the STIX font as part of your epub files?
Perhaps the folks who do this blog might be able to help -- they have done some work with font embedding:
http://www.pigsgourdsandwikis.com/2011/04/embedding-fonts-in-epub-ipad-iphone-an d.html -
How is this possible? I have no photos and have never used iphoto and the program is up to date. I try to import and drop my pictues into iphoto but nothing happens or I get above statement. Help please!
Then it's a bogus message and indicates that the default library is damaged.
Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Create Library' and use that one.
Regards
TD -
Using iCloud with 2 different accounts is this possible.
Using iCloud with 2 different accounts is this possible. Example if I buy a song from iTunes could it be synced to my wife's account.
No, but you can authorize her machine to play songs from your account, you'll just import them manually, they won't 'sync'
-
Activity Monitor - Column Heading Memory Types
I'm chasing a memory issue in my MBP, and am using Activity Monitor to try to figure it out. I've found explanations for "Wired", "Active", "Inactive", and "Free". Makes sense to me, no problemo.
Now comes the interesting part, trying to map processes to memory use. I've added all the available memory columns to Activity Monitor, but cannot find any correlation between the column headings and the memory reported in the bottom area/pie chart.
How do the Shared, Real, Private and Virtual Memory column headings map to the Wired, Active, Inactive and Free categories at the bottom?
There are plenty of explanations on what to be concerned about with the various pie chart categories. However, I'm trying to determine when an particular process is getting out of hand, and would like to understand what each of the column headings really mean, and in particular, how they map to the pie chart categories.As 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: 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.
Maybe you are looking for
-
How do I play a Keynote 09v5.3 slideshow on my iMac at a size smaller than fullscreen?
How do I play a Keynote09v5.3 slideshow on my iMac at a size smaller than fullscreen?
-
Restricting cost center selection during creation of reservation
Hi, We had a requirement to restrict the selection of cost center during creating a reservation. An user should be restricted in selecting any other cost center which does not belongs to his department. Since the restriction was not possible in stand
-
Bea Weblogic Integration 9.2 Unix installer
Hi Can somebody please help me to get Bea Weblogic Integration 9.2 Unix installer ? I want it for developement purpose on unix machine. I am not able to find it on the oracle product site. Thank you.
-
Will Mountain Lion affect my iLife installations?
I have a 2011 Intel iMac, which came with 10.6.7 disks. Soon after getting it, I upgraded to Lion. I am about to upgrade to Mountain Lion and I am concerned that my existing iLife suite may be affected by the upgrade. If I have a problem, where do
-
Can Anyone help please?