MATLAB Answers

How to increase java heap memory in Matlab when running it on a Linux cluster machine?

2 views (last 30 days)
Suchetana Gupta
Suchetana Gupta on 25 Jun 2015
Whenever I try to run a piece of code on a cluster using xlwrite function (with all paths mentioned properly and all files in the working directory), I get the error
{^HError using org.apache.poi.xssf.usermodel.XSSFCell/setCellValue Java exception occurred: java.lang.OutOfMemoryError: GC overhead limit exceeded at$Locations.<init>( at<init>( at at at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.newInstance( at org.openxmlformats.schemas.spreadsheetml.x2006.main.CTRst$Factory.newInstance(Unknown Source) at org.apache.poi.xssf.usermodel.XSSFRichTextString.<init>( at org.apache.poi.xssf.usermodel.XSSFCell.setCellValue(
Error in xlwrite (line 275) currentCell.setCellValue(data); }^H
Can you suggest a way to rectify it?
The same code runs beautifully in a Windows machine. But the problem is that I do not have access to a high performing Windows machine now and hence need to run it on Linux. Instead of using xlswrite (csvwrite/dlmwrite aren't working) I am using xlwrite. Thanks

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by