Some problems with visad

Hi!

I am trying to implement a small display software for larger amount of 
simulator data, and encountered a few problems I would like advice on:

1. How to store images produced by visad.
The obvious way: displayImpl.getImage() does not seem to work, it produces an 
Exception:
Exception occurred during event dispatching:
visad.VisADError: cannot call getImage() from Thread: AWT-EventQueue-0
I am calling the getImage() method out of the actionPerformed() method of my 
'Save Image' Buttons actionHandler.
Is there something I missed, or how does one save an Image?

2. The amount of data.
The data I try to display is apparently larger than a 220MB Java-VM is able to 
handle. Are there any numbers, how much memory visad needs for it's display?
I am trying to display a dataCube, and as long as the Cube has less than 
50x50x50 cells, everything works out well, but beyond that, I get an 
OutOfMemoryError.

Thanks for help,

Martin Jung

--
Martin Jung
Martin.Jung@xxxxxxxxxx
MATHEMA AG

Nägelsbachstraße 25b
91052 Erlangen
Telefon 09131/8903-0
Telefax 09131/8903-55
www.mathema.de


  • 2001 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: