Current Forum: Homework 3 Forum |
Date: Fri Sep 28 2001 6:37 pm |
Author: Bortz, Andrew S. <abortz@andrew.cmu.edu> |
Subject: Re: memory issues |
|
|
Probably not in the most platform-independent way. I ran my program in Windows 2000, and looked in the Task Manager for the memory footprint of java.exe. Before the file was parsed, the memory in use was around 3.5MB, and after was around 19.5MB.
I personally would also like to know if there is a way to do this in Unix. Or even somehow ask the Java VM directly how much memory is used. |
|