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 & HelpSyntax Questions › How do I troubleshoot "malloc_error_break" error
Page Index Toggle Pages: 1
How do I troubleshoot "malloc_error_break" error? (Read 926 times)
How do I troubleshoot "malloc_error_break" error?
Mar 25th, 2010, 8:16pm
 
running a program now that involves text-to-speech and twitter retrievals. patch works most of the time, except i get this error message, which i've never seen before. it works like this - the program grabs a tweet from the internet, breaks it into single words which are then stored as an array of strings, and then the text-to-speech reads through the array. the error message reads below. any ideas?

java(79871,0xb11ba000) malloc: *** mmap(size=536875008) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Re: Thanks,and new problem!
Reply #1 - Mar 26th, 2010, 2:00am
 
Please, try and make more descriptive subject lines, thanks! Smiley

You get a low level error, from the C layer of Java, or perhaps of your TTS library?
Looks like you are trying to allocate (or memory-map a file of) 530MB?
Re: Unknown Java Error Code involving Twitter & TTS
Reply #2 - Mar 26th, 2010, 8:35am
 
Subject line fixed. what does it mean that i am trying to memory-map a file?
Page Index Toggle Pages: 1