Previous Topic

Next Topic

Book Contents

Book Index

Memory and Large Images

When generating very large images, it is necessary to increase the heap size to allow for greater memory usage if the following message appears:

"The image is too large, please increase the Java heap size."

It is possible to increase the Java heap size by modifying these runtime parameters:

java -Xms<initial heap size> -Xmx<maximum heap size>

Default values:

java -Xms32m -Xmx128m

For example:

java -Xms128m -Xmx256m or java -Xms128m -Xmx512m

Previous Topic

Next Topic

Book Contents

Book Index


[Design Science Home]
Copyright © 1996-2016 Design Science, Inc. All rights reserved.