Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak (Re: msg #1111) #3314

Closed
vicuna opened this issue Apr 23, 2002 · 1 comment
Closed

Memory leak (Re: msg #1111) #3314

vicuna opened this issue Apr 23, 2002 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Apr 23, 2002

Original bug ID: 1122
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Full_Name: Martin Jambon
Version: 3.04
OS: pc/linux
Submission from: pc-bioinfo1.ibcp.fr (193.51.160.63)

This message follows report number 1111.
Setting the field Gc.max_overhead to some value causes memory leaks,
even with explicit calls to Gc.compact.

Here is the summary of 3 kinds of programs:

Gc.compact () Gc.max_overhead = 50 memory is wasted
0 no no yes
1 yes no no
2 no yes yes
3 yes yes yes

(0) is the normal program.
(1) calls Gc.compact periodically and works OK.
(2) is supposed to make compactions, but
a) memory space increases contrary to program (1) though
(stat ()).compactions is incremented.
b) (stat ()).compactions is not incremented anymore after
some point (see report #1111)
(3) uses Gc.compact and the Gc.max_overhead setting together,
but the behaviour is the same as in (2), except for the counter
returned by Gc.stat.

@vicuna
Copy link
Author

vicuna commented May 28, 2002

Comment author: administrator

Strange. Hope it went away with the fix of #3305. -- D

@vicuna vicuna closed this as completed May 28, 2002
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant