#42 new constructor leaks memory

critical
closed
nobody
core (120)
8
2002-08-03
2002-08-03
No

perldl> while(1){$a = pdl(0..10)}
[wait a while]
out of memory
tcsh>

It seems to be related to list allocation

size: 3501k perldl> for $i(0..1e4){$a=pdl(5)}
size: 3501k perldl> for $i(0..1e4){$a=pdl(0..9)}
size: 3747k perldl> for $i(0..1e4){$a=pdl(0..99)}
size: 3992k

It seems to be leaking 245 bytes per list element that's piddlified,
regardless of the number of piddles created.

Discussion

  • Craig DeForest

    Craig DeForest - 2002-08-03

    Logged In: YES
    user_id=20200

    Bug fixed in CVS.
    Thanks for reporting the problem!

     
  • Craig DeForest

    Craig DeForest - 2002-08-03
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks