[#3006] CVS repository — "Eugene Scripnik" <hoaz@...>

Hello.

21 messages 2004/06/16
[#3008] Re: CVS repository — ts <decoux@...> 2004/06/16

>>>>> "E" == Eugene Scripnik <hoaz@gala.net> writes:

[#3009] Re: CVS repository — Michal Rokos <michal@...> 2004/06/16

Hi!

[#3057] Ruby 1.8.2 to be released. — matz@... (Yukihiro Matsumoto)

Hi,

20 messages 2004/06/23

Re: spikes in memory usage

From: Jeff Mitchell <quixoticsycophant@...>
Date: 2004-06-10 00:34:05 UTC
List: ruby-core #2976
--- Jeff Mitchell <quixoticsycophant@yahoo.com> wrote:
> VALUE rb_myclass_initialize( VALUE self, VALUE size )
> {
>     struct MyStruct* data;
>     Data_Get_Struct(self, struct MyStruct, data) ;
>     data->stuff = (char*)malloc(NUM2LONG(size)*sizeof(char)) ;
>     return self ;
> }

Sorry to bother you.  The problem is gone when I use ALLOC_N.



	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

In This Thread

Prev Next