Jump to content
Lars Fosdal

10.4.2 IDE Compilation Memory leak

Recommended Posts

I have a Programs Group containing the projects that I work with on a daily basis.

In versions  prior to 10.x - sometimes before committing a possibly breaking code change, I would do a build all on that group.

There was an older version that also would run out of memory, but eventually that got fixed, but now it seems that error is back.


I hadn't really used this for some time, since the build server does it faster than I can, but I was going to benchmark 10.4.2 vs 10.4.1.
(Note that the time axis on the charts below are not comparable).

 

10.4.1 churns through the first 8 projects before it stops on an out of memory error, consuming 3.25Gb.
image.thumb.png.507efc48dc8b96ce769d978f7314b94b.png

 

image.thumb.png.c543f856d075e58a26f539536d9c7d26.png

 

10.4.2 crashes out hard (IDE goes *poof*) at peak 3.42Gb
image.thumb.png.6957273672b04067f2615c332399e6f7.png

 

I wonder what logic it is that governs when the IDE should release generated code or not?

image.thumb.png.00ad813fed143b8a950e2c327c2e6347.png

 

Each arrow represents when it starts compiling a project in the project group.
Large VCL app,
Moderate VCL app,
Small VCL app,
Small VCL app,
Moderate VCL app, 

Small VCL wrapper around service code,
Service without GUI,
Small VCL wrapper around service code (OOM).

If it had released every time, we would not have this problem.
 

On the bright side, 10.4.2 is a slightly faster compiler.

Complaint 1: The IDE should not run out of memory when compiling a project group.

Complaint 2: The IDE should - if it runs out - handle it gracefully and not crash out.

Share this post


Link to post
Guest

IRRELEVANT!

Edited by Guest

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×