Image processing by linking java and matlab

1 回表示 (過去 30 日間)
ruchika
ruchika 2011 年 6 月 26 日
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 Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by