[Rock-dev] 2GB + Autoproj + Ruby 1.9

Matthias Goldhoorn matthias.goldhoorn at dfki.de
Mon May 23 13:13:39 CEST 2011


Additionally ruby1.9 has currently no rubyQT Supoort, so all GUIs stop 
workung if you user ruby1.9

Matthias

On 23.05.2011 13:10, Janosch Machowinski wrote:
> Hi Chris,
> the problem is not ruby at all. If you look at top,
> you'll see that ruby takes only a few megs. The
> problem comes from gcc. In heavily templated
> code gcc can take up to 1 gig of mem per thread.
> As autoproj spawns per cpu in the system one
> thread, you'll may need a lot of memory if you
> own a dual or quadcore. The solution is setting
> Autobuild.parallel_build_level = 1
> in the init.rb in the autoproj directory.
> Greetings
>       Janosch
>
> On 23.05.2011 12:44, Chris Mueller wrote:
>    
>> Hio,
>>
>> i have currently some performance issues with autoproj for building my
>> complete setup
>> for AVALON and RIMRES. Some bigger packages always seems to consume all
>> of my available
>> 2 GB RAM and it's impossible to run other application because the
>> building process take of the
>> complete control of my notebook and freezes (until i abort the process).
>>
>> After that i start cmake manually and it works fine without blocking the
>> complete system.
>>
>> I'm not sure if 2 GB RAM are addressed to be insufficient, but i'm
>> currently searching for improving
>> my current situation.
>>
>> I'm playing with the idea to switch to the newer Ruby 1.9 branch in
>> order to benefit from the more
>> effective interpreter implemenation (and hoping it's garbage collector
>> is a little more efficient).
>>
>> Unfortanetly switching to another ruby version is also a little risk to
>> break the setup because of
>> some incompabilities. Before trying i would like to ask if there are
>> already some people here
>> using the complete rock toolchain with ruby 1.9 and can share some
>> experiences.
>>
>> Best Regards
>> Chris
>>
>>
>> _______________________________________________
>> Rock-dev mailing list
>> Rock-dev at dfki.de
>> http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
>>      
>
>    


-- 
  Dipl.-Inf. Matthias Goldhoorn
  Unterwasserrobotik

  Hauptanschrift Standort Bremen:
  DFKI GmbH
  Robotics Innovation Center
  Robert-Hooke-Straße 5
  28359 Bremen, Germany

  Phone: +49 (0)421 178 45-4193
  Fax:   +49 (0)421 178 45-4150
  E-Mail: robotik at dfki.de

  Weitere Informationen: http://www.dfki.de/robotik
  -----------------------------------------------------------------------
  Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
  Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
  Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
  (Vorsitzender) Dr. Walter Olthoff
  Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
  Amtsgericht Kaiserslautern, HRB 2313
  Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
  USt-Id.Nr.:    DE 148646973
  Steuernummer:  19/673/0060/3




More information about the Rock-dev mailing list