RE: vm_allocate error

From: Philippe Canal <>
Date: Wed, 21 Dec 2005 15:19:04 -0600


Do you still see the problem with ROOT 5.08?


-----Original Message-----
From: [] On Behalf Of OKUMURA, Akira
Sent: Wednesday, December 14, 2005 12:57 PM To:
Subject: [ROOT] vm_allocate error

Hello Mac ROOTers,

The following macro does not run w/ ROOT 5.06 binary on OS X 10.4.3 w/ gcc 4.

void test()

   TImage* img = TImage::Open("image00000.png");



It breaks with the following message.
root [0] .x test.C
root.exe(18835) malloc: *** vm_allocate(size=2710577152) failed
(error code=3)

root.exe(18835) malloc: *** error: can't allocate region root.exe(18835) malloc: *** set a breakpoint in szone_error to debug

However this macro runs as expectedly with ROOT 5.01 compiled from source on RH 7.3 with gcc 2.96. JPEGs and GIFs are displayed correctly on the both systems.

Is there anything left to be done after setting PATHs ? Or someone has a solution ?

Thank you in advance

Institute for Cosmic Ray Research, University of Tokyo 5-1-5 Kashiwanoha Kashiwa Chiba 277-8582 Japan Phone/Fax : +81 4-7136-3153
Skype : okumura.akira Received on Wed Dec 21 2005 - 22:21:03 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:14 MET