I made an application that uses a lot of loops, and deals with MB's of text at a time. After the program has been running for about 10 seconds, it goes to "not responding." After about 2 minutes, I get this error:
aTestApp(1550) malloc: *** mmap(size=2097152) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
aTestApp(1550) malloc: *** mmap(size=2097152) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
aTestApp(1550) malloc: *** mmap(size=2097152) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
The application has garbage collection on... I am also manually releasing everything myself. Is there an easy way around this error? Or what?
Any help or info would be great, thanks.
I am using Mac OS X 10.5.6,
Xcode 3.1.2,
The application is being compiled in 32 bit universal, I tried 32/64 universal.
aTestApp(1550) malloc: *** mmap(size=2097152) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
aTestApp(1550) malloc: *** mmap(size=2097152) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
aTestApp(1550) malloc: *** mmap(size=2097152) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
The application has garbage collection on... I am also manually releasing everything myself. Is there an easy way around this error? Or what?
Any help or info would be great, thanks.
I am using Mac OS X 10.5.6,
Xcode 3.1.2,
The application is being compiled in 32 bit universal, I tried 32/64 universal.