BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Is there a limit on the Delphi runtime package file size

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Deployment
View previous topic :: View next topic  
Author Message
Chau Chee Yang
Guest





PostPosted: Tue Mar 27, 2007 8:27 pm    Post subject: Is there a limit on the Delphi runtime package file size Reply with quote



Hi,

I used some third party components. In order to reduce the number of
files in deployment stage, I try to re-package all runtime packages into
a single files.

Everything looks good when I try to package component by component. The
more units I add to .DPK file, the bigger the size of .BPL/.DCP file.
However, when I the size of the .BPL files grow to certain size (> 20M
bytes), the EXE file will raise exception when launched.

I don't know how it happens. Does anyone has clue on this issue?

I am using Windows XP and BDS 2006.

--
Best regards,
Chau Chee Yang

E Stream Software Sdn Bhd
URL: www.sql.com.my
SQL Financial Accounting
Back to top
Ottar Holstad
Guest





PostPosted: Wed Mar 28, 2007 8:11 am    Post subject: Re: Is there a limit on the Delphi runtime package file size Reply with quote



Quote:
However, when I the size of the .BPL files grow to certain size (> 20M
bytes), the EXE file will raise exception when launched.

At work we have an application that is deployed to thousands of machines
with a number of runtime packages, of which one is about 26MB. However, at
some points in time this package has exceeded 32MB of dfm-files. The Delphi
6 compiler doesn't like this - it may sometimes compile, sometimes not....
The bug seems to be related to the linker, when it's attaching all those
dfm-files to the bpl.
Back to top
Chau Chee Yang
Guest





PostPosted: Wed Mar 28, 2007 7:34 pm    Post subject: Re: Is there a limit on the Delphi runtime package file size Reply with quote



Thanks for sharing your experience. I have done a series of test
against this issue and very sure it is the delphi compiler problem
(either compiler or linker). The compiling and linking process are all
fine. But when I run the .exe file built with the big size runtime
packages, I will encounter "Runtime error 216".

It is fine if there is limit on the size of runtime package, but I just
want to know what actually limits the size? and why?

--
Best regards,
Chau Chee Yang

E Stream Software Sdn Bhd
URL: www.sql.com.my
SQL Financial Accounting
Back to top
Ottar Holstad
Guest





PostPosted: Thu Mar 29, 2007 8:11 am    Post subject: Re: Is there a limit on the Delphi runtime package file size Reply with quote

Quote:
It is fine if there is limit on the size of runtime package, but I just
want to know what actually limits the size? and why?

On rereading my post I realized that I forgot to say that we actually have
had no problems deploying the 26MB runtime package. I think there is a
definitive limit in the linker at 32MB of dfm-files - that is, size of all
dfm-files before compiling. We exceeded 32MB of dfm-files, but solved the
problem by converting all the forms from text-dfm to binary dfm.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Deployment All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.