RE: vm_allocate error

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


Hi,

Do you still see the problem with ROOT 5.08?

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch] On Behalf Of OKUMURA, Akira
Sent: Wednesday, December 14, 2005 12:57 PM To: roottalk_at_cern.ch
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.
(root_v5.06.00.macosx-gcc-4.0)

void test()
{

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

   img->SetConstRatio(0);
   img->SetImageQuality(TAttImage::kImgBest);
   img->Draw("N");

   return;
}

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 21 2005 - 22:21:03 MET

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