vm_allocate error

From: OKUMURA, Akira <oxon_at_icrr.u-tokyo.ac.jp>
Date: Thu, 15 Dec 2005 03:57:05 +0900

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

OKUMURA, Akira oxon_at_icrr.u-tokyo.ac.jp
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 14 2005 - 19:57:48 MET

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