Login  Register

Out of memory using ResultsTable

Posted by fiatlux on Dec 18, 2010; 11:32am
URL: http://imagej.273.s1.nabble.com/Out-of-memory-using-ResultsTable-tp3686154.html

Hi,

I'm trying to display some results in a ResultsTable, but I get very fast out of memory, just by adding 18 empty columns. For instance :

ResultsTable results = new ResultsTable();
for (int i=0; i<18; i++) {
        results.addColumns();
}

I get the message "<Out of memory>" in the log. Is this normal? Does it has something to do with ResultsTable being RAM resident? Or are they disk resident?... Well, I guess I should be able to add more columns than just 18, right? Does someone know how to solve this?
(sorry for my English)

Thanks in advance.