Reply To: Error: java.lang.NegativeArraySizeException

Activity Forums Astrosoftware Astro Pixel Processor Error: java.lang.NegativeArraySizeException Reply To: Error: java.lang.NegativeArraySizeException

#15092
Wang
Participant

More to report.

This time I used a different computer and allocated 80 GB of RAM to APP.  It still shows an out of memory error.  What’s funny is that I once successfully stitched all the panels together using a computer with just 16 GB of RAM.  Then I couldn’t reproduce the success on the same computer and on the more RAM-rich computer: always out of memory.  I believe the options I picked are different in different trials, but I can’t tell which option leads to the out of memory error.

Another potential bug. On this computer, I closed APP after the out of memory error. Then I launched it again. The RAM assigned to APP went back to 1 GB automatically, instead of 80 GB.  This happened once on my other computer yesterday.  It will be nice to force this setting unchanged every time, unless the users changes it.

Feature request:  it will be nice if the “set work directory” button remembers the work directory from last time. At this moment, it goes to the home directory every time I launch APP and click the “set work directory” button. It will be much more convenient if it stays where it was. Even if we want to use a different work directory every time, going from where it was will still be faster than going from home, since astronomical files tend to sit in a more confined region in a big computer.

Finally, the launching time of APP on this second computer is just a few seconds, many many times faster than on the other computer. However, this computer is not faster than the previously one.  It has more cores and much more RAM, but these shouldn’t affect how fast an app launches.

Cheers,

Wei-Hao

Scroll to Top