Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Problem with RLink32


This question is answered. Helpful answers available: 1. Correct answers available: 1.


Permlink Replies: 2 - Last Post: Jul 31, 2017 9:32 AM Last Post By: Rafael Werner
Rafael Werner

Posts: 2
Registered: 7/17/17
Problem with RLink32  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 28, 2017 1:18 PM
Hello everyone!

We have a problem and would like your opinion when the solution.

We used Delphi 10 Seattle and used to compile the projects through MSBuild.

A while back, around 2 months, the compilation started to present the error "RLink32 - Out of memory".
We decided to go back to using FinalBuilder, and the compilation lasted another month and then the same error started to occur in FinalBuilder as well.
In tests we found that the same error occurs with manual compilation by brcc32, but it does not occur when compiled by IDE.

I would like to know, if possible, what was done so that IDE becomes more "powerful" in relation to compilation.

We analyzed the possibility of modularization of the project, but would like to know if there is another option for this problem.

All the best!
Peter Below

Posts: 1,227
Registered: 12/16/99
Re: Problem with RLink32
Helpful
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 29, 2017 12:48 AM   in response to: Rafael Werner in response to: Rafael Werner
Rafael Werner wrote:

Hello everyone!

We have a problem and would like your opinion when the solution.

We used Delphi 10 Seattle and used to compile the projects through
MSBuild.

A while back, around 2 months, the compilation started to present the
error "RLink32 - Out of memory". We decided to go back to using
FinalBuilder, and the compilation lasted another month and then the
same error started to occur in FinalBuilder as well. In tests we
found that the same error occurs with manual compilation by brcc32,
but it does not occur when compiled by IDE.

I would like to know, if possible, what was done so that IDE becomes
more "powerful" in relation to compilation.

We analyzed the possibility of modularization of the project, but
would like to know if there is another option for this problem.

All the best!

The IDE has been modified to allow 3 GByte of memory to be used instead
of the 2 GByte usually available to Win32 processes. Perhaps that is
the crucial difference in your case.

--
Peter Below
TeamB
Rafael Werner

Posts: 2
Registered: 7/17/17
Re: Problem with RLink32  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 31, 2017 9:32 AM   in response to: Peter Below in response to: Peter Below
Peter Below wrote:
Rafael Werner wrote:

Hello everyone!

We have a problem and would like your opinion when the solution.

We used Delphi 10 Seattle and used to compile the projects through
MSBuild.

A while back, around 2 months, the compilation started to present the
error "RLink32 - Out of memory". We decided to go back to using
FinalBuilder, and the compilation lasted another month and then the
same error started to occur in FinalBuilder as well. In tests we
found that the same error occurs with manual compilation by brcc32,
but it does not occur when compiled by IDE.

I would like to know, if possible, what was done so that IDE becomes
more "powerful" in relation to compilation.

We analyzed the possibility of modularization of the project, but
would like to know if there is another option for this problem.

All the best!

The IDE has been modified to allow 3 GByte of memory to be used instead
of the 2 GByte usually available to Win32 processes. Perhaps that is
the crucial difference in your case.

--
Peter Below
TeamB

Hello everyone,

Thank you very much! Your information helped me a lot!

I was intrigued by what was happening and in some tests I found an alternative.
Using a PE edictor, I added the "largeaddressaware" flag to DCC32.exe from the IDE's bin directory thus causing the external compilation with MSBuild to be completed without errors.

All the best!
Thanks again!

Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02