Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #4746

Re: Manual Memory Management and Automatic Garbage Collection

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!talisker.lacave.net!lacave.net!not-for-mail
From Tridib Bandopadhyay <tridib04@gmail.com>
Newsgroups comp.lang.ruby
Subject Re: Manual Memory Management and Automatic Garbage Collection
Date Wed, 18 May 2011 17:43:56 -0500
Organization Service de news de lacave.net
Lines 42
Message-ID <ea7db33bcdb5c9faf62bd9581c3443a3@ruby-forum.com> (permalink)
References <24b916bbe5f647533b379407fffb83e9@ruby-forum.com> <313bbaeb2103f9ad4323556c4fc5730f@ruby-forum.com> <BANLkTi=NknK1176QkM=0Wo=ThHSw+KD_1w@mail.gmail.com>
NNTP-Posting-Host bristol.highgroove.com
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 7bit
X-Trace talisker.lacave.net 1305758748 14557 65.111.164.187 (18 May 2011 22:45:48 GMT)
X-Complaints-To abuse@lacave.net
NNTP-Posting-Date Wed, 18 May 2011 22:45:48 +0000 (UTC)
In-Reply-To <BANLkTi=NknK1176QkM=0Wo=ThHSw+KD_1w@mail.gmail.com>
X-Received-From This message has been automatically forwarded from the ruby-talk mailing list by a gateway at comp.lang.ruby. If it is SPAM, it did not originate at comp.lang.ruby. Please report the original sender, and not us. Thanks! For more details about this gateway, please visit: http://blog.grayproductions.net/categories/the_gateway
X-Mail-Count 383454
X-Ml-Name ruby-talk
X-Rubymirror Yes
X-Ruby-Talk <ea7db33bcdb5c9faf62bd9581c3443a3@ruby-forum.com>
Xref x330-a1.tempe.blueboxinc.net comp.lang.ruby:4746

Show key headers only | View raw


Robert K. wrote in post #999427:
> On Tue, May 17, 2011 at 9:58 PM, Tridib Bandopadhyay
> <tridib04@gmail.com> wrote:
>> I have some questions::--
>>
>> 1. Is it possible to Manually free memory(without calling GC.start) by
>> extending it with C? As i have tried it and its of no use for my work.
>>
>> 2. Can I add a new file and try to manually free memory(disabling GC)?
>
> I am sure, both can be achieved with an amount of hacking Ruby's
> source code.  So: yes and yes.

What do you mean by Hacking Ruby's Code... I didn't get it.. Can you
describe me in Detail.

>
> What I do not understand: what is the aim of your research?  I mean,
> people have spent numerous hours of research and engineering to make
> automatic GC work, and you seem to be mainly concerned with adding
> manual memory management to a language which has automatic GC.  What
> is the point of your research?
>
> Kind regards
>
> robert


Yeah i know that.. But since Ruby is Using Stop the World concept. So I
was thinking of not letting the GC to come and free memory every time
for small objects,Stopping the code. So I just want to check if it can
be helpful or not...

Thanks...

Regards

Tridib

-- 
Posted via http://www.ruby-forum.com/.

Back to comp.lang.ruby | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Manual Memory Management and Automatic Garbage Collection Tridib Bandopadhyay <tridib04@gmail.com> - 2011-05-17 14:58 -0500
  Re: Manual Memory Management and Automatic Garbage Collection Robert Klemme <shortcutter@googlemail.com> - 2011-05-18 02:12 -0500
    Re: Manual Memory Management and Automatic Garbage Collection Tridib Bandopadhyay <tridib04@gmail.com> - 2011-05-18 17:43 -0500
      Re: Manual Memory Management and Automatic Garbage Collection Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-05-18 18:18 -0500
      Re: Manual Memory Management and Automatic Garbage Collection JK Victor <johnkvictor@yahoo.com> - 2011-05-18 18:50 -0500
      Re: Manual Memory Management and Automatic Garbage Collection Robert Klemme <shortcutter@googlemail.com> - 2011-05-19 02:44 -0500

csiph-web