Memory Allocation Pool
Published on 30 Jan 2005Tags #Java
The Java virtual machine provides a limited amount of memory which can be used for application data. By default, this memory allocation pool is initialized to 2 megabytes and is limited to 64 megabytes. There are two command line options that control the size of the pool:
-
-Xms2m: Initial size
-
-Xmx64m: Maximum size
Feedback is always welcome! If you'd like to get in touch with me concerning the contents of this article, please use Twitter.