Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Dec 2008
    Posts
    2

    Question GLib-ERROR : failed to allocate ... bytes

    Hello,

    I've to install mod_mono through /scripts/easyapache and I've got error while compile this module (2.x). The same problem I got when compile with mono 1.x.

    PHP Code:
    ./../../class/lib/net_2_1_raw -./../../class/lib/net_2_1 -l none -c link -a smcs -b true -g true -m display_internalized false -x Descriptors/mscorlib.xml -x Descriptors/smcs.xml -x Descriptors/System.xml -x Descriptors/System.ServiceModel.xml -s Mono.Tuner.InjectAttributes,Mono.Tuner:OutputStep -s Mono.Tuner.AdjustVisibility,Mono.Tuner:OutputStep -s Mono.Tuner.PrintStatus,Mono.Tuner:OutputStep -s Mono.Tuner.RemoveSerialization,Mono.Tuner:OutputStep -i masterinfos/mscorlib.info -i masterinfos/System.info -i masterinfos/System.Net.info -i masterinfos/System.Core.info -i masterinfos/System.Xml.info -i masterinfos/System.Xml.Linq.info -i masterinfos/System.Runtime.Serialization.info -i masterinfos/System.ServiceModel.info -i masterinfos/System.ServiceModel.Web.info -i masterinfos/Mono.CompilerServices.SymbolWriter.info
    Assembly 
    `System.Xml.Linq, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' (/home/cpeasyapache/src/mono-2.4/mcs/class/lib/net_2_1_raw/System.Xml.Linq.dll) tuned
    Assembly 
    `Mono.CompilerServices.SymbolWriterVersion=2.0.5.0Culture=neutralPublicKeyToken=0738eb9f132ed756' (/home/cpeasyapache/src/mono-2.4/mcs/class/lib/net_2_1_raw/Mono.CompilerServices.SymbolWriter.dll) tuned
    Assembly `System.ServiceModel.Web, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' 
    (/home/cpeasyapache/src/mono-2.4/mcs/class/lib/net_2_1_raw/System.ServiceModel.Web.dlltuned
    Assembly 
    `mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' (/home/cpeasyapache/src/mono-2.4/mcs/class/lib/net_2_1_raw/mscorlib.dll) tuned
    Assembly 
    `SystemVersion=2.0.5.0Culture=neutralPublicKeyToken=7cec85d7bea7798e' (/home/cpeasyapache/src/mono-2.4/mcs/class/lib/net_2_1_raw/System.dll) tuned
    Assembly `smcs, Version=2.4.0.0, Culture=neutral, PublicKeyToken=null' 
    (/home/cpeasyapache/src/mono-2.4/mcs/class/lib/net_2_1_raw/smcs.exetuned
    Assembly 
    `System.Net, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' (/home/cpeasyapache/src/mono-2.4/mcs/class/lib/net_2_1_raw/System.Net.dll) tuned
    Assembly 
    `System.XmlVersion=2.0.5.0Culture=neutralPublicKeyToken=7cec85d7bea7798e' (/home/cpeasyapache/src/mono-2.4/mcs/class/lib/net_2_1_raw/System.Xml.dll) tuned
    Assembly `System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' 
    (/home/cpeasyapache/src/mono-2.4/mcs/class/lib/net_2_1_raw/System.Core.dlltuned
    Assembly 
    `System.ServiceModel, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' (/home/cpeasyapache/src/mono-2.4/mcs/class/lib/net_2_1_raw/System.ServiceModel.dll) tuned
    Assembly 
    `System.Runtime.SerializationVersion=2.0.5.0Culture=neutralPublicKeyToken=7cec85d7bea7798e' (/home/cpeasyapache/src/mono-2.4/mcs/class/lib/net_2_1_raw/System.Runtime.Serialization.dll) tuned
    GLib-ERROR **: gmem.c:156: failed to allocate 192 bytes
    aborting...
    ..............
    !! Command failed in '
    /home/cpeasyapache/src/mono-2.4': 'make EXTERNAL_MCS=false EXTERNAL_RUNTIME=false' !! 
    Can anyone got this error and know, how to fix that?
    Or I must to open support ticket with this problem? )

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,720
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by deus207 View Post
    Hello,

    I've to install mod_mono through /scripts/easyapache and I've got error while compile this module (2.x). The same problem I got when compile with mono 1.x.

    PHP Code:
    ./../../class/lib/net_2_1_raw -./../../class/lib/net_2_1 -l none -c link -a smcs -b true -g true -m display_internalized false -x Descriptors/mscorlib.xml -x Descriptors/smcs.xml -x Descriptors/System.xml -x Descriptors/System.ServiceModel.xml -s Mono.Tuner.InjectAttributes,Mono.Tuner:OutputStep -s Mono.Tuner.AdjustVisibility,Mono.Tuner:OutputStep -s Mono.Tuner.PrintStatus,Mono.Tuner:OutputStep -s Mono.Tuner.RemoveSerialization,Mono.Tuner:OutputStep -i masterinfos/mscorlib.info -i masterinfos/System.info -i masterinfos/System.Net.info -i masterinfos/System.Core.info -i masterinfos/System.Xml.info -i masterinfos/System.Xml.Linq.info -i masterinfos/System.Runtime.Serialization.info -i masterinfos/System.ServiceModel.info -i masterinfos/System.ServiceModel.Web.info -i masterinfos/Mono.CompilerServices.SymbolWriter.info
    Assembly 
    `System.Xml.Linq, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' (/home/cpeasyapache/src/mono-2.4/mcs/class/lib/net_2_1_raw/System.Xml.Linq.dll) tuned
    Assembly 
    `Mono.CompilerServices.SymbolWriterVersion=2.0.5.0Culture=neutralPublicKeyToken=0738eb9f132ed756' (/home/cpeasyapache/src/mono-2.4/mcs/class/lib/net_2_1_raw/Mono.CompilerServices.SymbolWriter.dll) tuned
    Assembly `System.ServiceModel.Web, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' 
    (/home/cpeasyapache/src/mono-2.4/mcs/class/lib/net_2_1_raw/System.ServiceModel.Web.dlltuned
    Assembly 
    `mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' (/home/cpeasyapache/src/mono-2.4/mcs/class/lib/net_2_1_raw/mscorlib.dll) tuned
    Assembly 
    `SystemVersion=2.0.5.0Culture=neutralPublicKeyToken=7cec85d7bea7798e' (/home/cpeasyapache/src/mono-2.4/mcs/class/lib/net_2_1_raw/System.dll) tuned
    Assembly `smcs, Version=2.4.0.0, Culture=neutral, PublicKeyToken=null' 
    (/home/cpeasyapache/src/mono-2.4/mcs/class/lib/net_2_1_raw/smcs.exetuned
    Assembly 
    `System.Net, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' (/home/cpeasyapache/src/mono-2.4/mcs/class/lib/net_2_1_raw/System.Net.dll) tuned
    Assembly 
    `System.XmlVersion=2.0.5.0Culture=neutralPublicKeyToken=7cec85d7bea7798e' (/home/cpeasyapache/src/mono-2.4/mcs/class/lib/net_2_1_raw/System.Xml.dll) tuned
    Assembly `System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' 
    (/home/cpeasyapache/src/mono-2.4/mcs/class/lib/net_2_1_raw/System.Core.dlltuned
    Assembly 
    `System.ServiceModel, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' (/home/cpeasyapache/src/mono-2.4/mcs/class/lib/net_2_1_raw/System.ServiceModel.dll) tuned
    Assembly 
    `System.Runtime.SerializationVersion=2.0.5.0Culture=neutralPublicKeyToken=7cec85d7bea7798e' (/home/cpeasyapache/src/mono-2.4/mcs/class/lib/net_2_1_raw/System.Runtime.Serialization.dll) tuned
    GLib-ERROR **: gmem.c:156: failed to allocate 192 bytes
    aborting...
    ..............
    !! Command failed in '
    /home/cpeasyapache/src/mono-2.4': 'make EXTERNAL_MCS=false EXTERNAL_RUNTIME=false' !! 
    Can anyone got this error and know, how to fix that?
    Or I must to open support ticket with this problem? )
    Offhand, the "failed to allocate" message often indicates one has run out of RAM. However, you may want to have our technical analysts take a closer look: http://tickets.cpanel.net/submit

Similar Threads & Tags
Similar threads

  1. Replies: 2
    Last Post: 06-23-2011, 05:26 PM
  2. open3: fork failed: Cannot allocate memory at cpsrvd-ssl.pl line 4852
    By Ahmed Saleh in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 07-02-2010, 02:25 PM
  3. Replies: 19
    Last Post: 05-04-2010, 09:40 PM
  4. GLIB Error
    By Scott Greczkows in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-06-2006, 04:05 PM
  5. glib 2.2 or 2.3
    By gunmuse in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-24-2004, 11:25 AM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube