adragan Posted December 4, 2015 Posted December 4, 2015 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 ???? Quote
Administrators Farshad Mohajeri Posted December 4, 2015 Administrators Posted December 4, 2015 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. Quote
adragan Posted December 4, 2015 Author Posted December 4, 2015 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. Quote
Administrators Farshad Mohajeri Posted December 4, 2015 Administrators Posted December 4, 2015 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.