Hi,
all output streams in Codename One are buffered so you should never wrap 
them in another buffered output stream.

You are allocating a single array of 150MB this will blow up on most 
devices... Writing it will usually trigger further allocations of similar 
size and will prevent the GC from doing anything about it since you are 
doing it in a loop. You need to work with smaller data sets.

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/f1113c05-60e8-4b74-a8c0-e7115229da27%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to