Hello, We have a problem regarding Domain.Build method. our application is a Multi-tenancy Cloud ERP system, the system consists of a master database and a company database for each tenant, we have two application, the web site which hosts the business application and a desktop application to manage the tenants in term of update version and so on (which requires the build of the database according to the version model). the problem is the memory usage and time consumed which raise during the build of the company's model (tenant model), it consumes a lot of memory which reaches over 1 GB if running as 64 bit application (in IIS or windows form application), if running as 32 bit application it may decreased nearly to the half. also it takes nearly 2:3 Minutes to complete the build of the domain (in addition to the overhead it puts on SQL Server which is SQL Server 2008 R2). I have sent this problem before as a question but the solution didn't fix it completely, as our application wasn't as the same size as now (in terms of functionality and entity objects), now building the domain reflects in a huge number of tables being created or checked in the database. http://support.x-tensive.com/question/5178/domain-memory-usage-problem Also we had a problem before regarding an OutOfMemoryException which solved by force the application to run under 64 bit process and .net 4.5 (desktop application) according to your suggestion here: http://support.x-tensive.com/question/6217/domain-build-systemoutofmemoryexception We have also some minor problem, but the two mentioned before is argent as we have an Internet service provider who is waiting to solve them before we can host our application on his Infrastructure. We use DataObjects.net V4.6.4 on SQL Server 2008 R2 / Windows 64 bit (7 & Server 2008 R2) |
Hello ahmad emad.
In which modes do you build domains?
Hello Alexy, From the application manager(window forms 64 bit) we use Perform to update the structure and the version, from website itself we use Validate
I wrote you email. Check it.
ahmad emad. I wrote you email on e-mail address which in your profile. I think discussion via skype would be more quicker and more affective. Please, contact me.