Jump to content

Size difference


adragan

Recommended Posts

Did anyone notice the size difference between Delphi versions ?

 

Same project, same UniGui version, same compiler options ( with debug ), 32bit  :

 

Delphi 2006 ->    6.5 MB ISAPI DLL

Delphi XE7   -> 32.5 MB ISAP DLL  !!!!!!

 

It drastically limits the max no of users on a 32 bit server !

Is it worth upgrading ????

 

 

 

 

 

 

 

 

Link to comment
Share on other sites

  • Administrators

Did anyone notice the size difference between Delphi versions ?

 

Same project, same UniGui version, same compiler options ( with debug ), 32bit  :

 

Delphi 2006 ->    6.5 MB ISAPI DLL

Delphi XE7   -> 32.5 MB ISAP DLL  !!!!!!

 

 

 

Yes, it is a know issue and debated among Delphi developers for a long time.

Actually you must look at "Release" code without  debug info for a better comparison.

 

It drastically limits the max no of users on a 32 bit server !

 

 

No, why?

 

 Is it worth upgrading ????

 

 

Yes, but it depends on your project. If you need 64-bit support you must upgrade.

Link to comment
Share on other sites

Maybe I don't understand how it works , but don't you make a separate thread of execution for each user , that is a new "copy" of the isapi.dll in memory ?

If we consider that there is no DB server and that the operating system takes only 500 Mb (??).

 

Then 3500 Mb of RAM/ 6.5 Mb = 538 (aprox ) max theoretical users / server.

On XE7  3500 / 32 = 109 max uses / server.

 

That is 5 times less users.

Link to comment
Share on other sites

  • Administrators

Maybe I don't understand how it works , but don't you make a separate thread of execution for each user , that is a new "copy" of the isapi.dll in memory ?

If we consider that there is no DB server and that the operating system takes only 500 Mb (??).

 

 

No, server DLL is loaded only once and for each user a new session is created which only occupies the amount of memory needed to create instances of MainForm, MainModule and etc.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...