Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
March 16, 2019 [Issue 19745] Incredible memory consumption for function with huge body | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19745 Puneet Goel <puneet@coverify.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |puneet@coverify.org --- Comment #1 from Puneet Goel <puneet@coverify.org> --- Created attachment 1735 --> https://issues.dlang.org/attachment.cgi?id=1735&action=edit Code with a BIG function body -- |
March 16, 2019 [Issue 19745] Incredible memory consumption for function with huge body | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19745 --- Comment #2 from Puneet Goel <puneet@coverify.org> --- With the static foreach, it seems it is the static foreach unrolling which takes a lot of memory. On the other hand, if you create physical code with a large function, the compiler does not go OOM, but seems to take forever. On my i7 linux box I kill the compilation process after it failed to produce object file even after 2 hours compiler. I have attached test.d.xz -- |
March 16, 2019 [Issue 19745] Incredible memory consumption for function with huge body | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19745 --- Comment #3 from kinke@gmx.net --- Ah, thanks for checking - then we have 2 separate, orthogonal issues here. -- |
March 21, 2019 [Issue 19745] Incredible memory consumption for function with huge body | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19745 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ibuclaw@gdcproject.org --- Comment #4 from Iain Buclaw <ibuclaw@gdcproject.org> --- This is a duplicate of another bug I think. -- |
March 21, 2019 [Issue 19745] Incredible memory consumption for function with huge body | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19745 --- Comment #5 from Iain Buclaw <ibuclaw@gdcproject.org> --- (In reply to Puneet Goel from comment #2) > With the static foreach, it seems it is the static foreach unrolling which takes a lot of memory. > > On the other hand, if you create physical code with a large function, the compiler does not go OOM, but seems to take forever. On my i7 linux box I kill the compilation process after it failed to produce object file even after 2 hours compiler. > > I have attached test.d.xz What you are describing I think is covered by this bug. https://issues.dlang.org/show_bug.cgi?id=6401 -- |
March 21, 2019 [Issue 19745] Incredible memory consumption for function with huge body | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19745 --- Comment #6 from anonymous4 <dfj1esp02@sneakemail.com> --- 6401 is dmc backend optimizer problem, this example fails in frontend. -- |
December 17, 2022 [Issue 19745] Incredible memory consumption for function with huge body | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19745 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
December 13 [Issue 19745] Incredible memory consumption for function with huge body | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19745 --- Comment #7 from dlangBugzillaToGithub <robert.schadek@posteo.de> --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19543 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB -- |
Copyright © 1999-2021 by the D Language Foundation