Image processing by linking java and matlab

1 次查看(过去 30 天)
I am working on high resolution images like 2592x3872. But when i load these images in matlab using java classes it shows the error "java.lang.OutOfMemoryError: Java heap space". Now i have tried increasing the JVM space by creating java.opts file in the startup but it is not proving of any help. Can someone tell me how can i unallocate the space because the below mentioned link clearly says that "CLEAR, PACK, QUIT commands do not affect the Java class objects created by the Java Virtual Machine (JVM)"... http://www.mathworks.com/support/tech-notes/1100/1106.html
and how much space do i need to allocate for these sized images in case i make a java.opts file.???

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by