We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › Memory overflow
Page Index Toggle Pages: 1
Memory overflow? (Read 952 times)
Memory overflow?
Mar 24th, 2010, 8:05am
 
Hi to all, I'm pretty new using processing and I got stucked recently with a program I'm writting.
It worked fine till I added a huge multidimensional calculation for serial port data flow. Since I've added this part to the code, it crashed after a while in sentences like this:
-loading a font
-loading an image

Example of error message:
"Could not load font NimbusSanL-Bold-48.vlw. Make sure that the font has been copied to the data folder of your sketch."

I think the size of this structures I have created, is bigger than the limit, and then the pointers can't find the font/image.

Does anybody know about what I'm talking about? Can anybody help me?
Re: Memory overflow?
Reply #1 - Mar 24th, 2010, 9:37am
 
Are you defining your own main() or something in that area  This could be a cause in Processing 1.1.
http://processing.org/discourse/yabb2/?num=1268452997
Re: Memory overflow?
Reply #2 - Mar 25th, 2010, 4:52am
 
I don't see the relation between "memory overflow" and the message you report. Have you an OutOfMemoryException or similar?
Are you sure you haven't moved font loading logic in your code?
Re: Memory overflow?
Reply #3 - Mar 25th, 2010, 5:02am
 
Thanks dude, now it works fine. I didnt see that thread before.
Thanks so much again.
Page Index Toggle Pages: 1