AndersonSOS Posted May 21, 2014 Share Posted May 21, 2014 I'm from Brazil and I'm using the framework to create uniGui Standalone applications for WEB. After a few hours of use of the application to respond with the "Out Of Memory" message. Could you help me find the problem? Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 21, 2014 Administrators Share Posted May 21, 2014 Either your application leaks memory or your app is too much hungry for memory. Add ReportMemoryLeaksOnShutdown := True; To project source and check if there are any leaks. BTW, are you using latest build? Link to comment Share on other sites More sharing options...
rencarnacion Posted May 21, 2014 Share Posted May 21, 2014 Hi, Farshad, where I must put the Instruccion "ReportMemoryLeaksOnShutdown := True;" ? In the MainModule or ServerController ? Thanks Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 21, 2014 Administrators Share Posted May 21, 2014 After "begin" in project source code. Link to comment Share on other sites More sharing options...
rencarnacion Posted May 21, 2014 Share Posted May 21, 2014 Thanks , Farshad Link to comment Share on other sites More sharing options...
AndersonSOS Posted May 21, 2014 Author Share Posted May 21, 2014 Thanks for the reply I will put this line and see him behave. Link to comment Share on other sites More sharing options...
AndersonSOS Posted May 21, 2014 Author Share Posted May 21, 2014 I auditioned but remained the same, giving the Out Of Memory. to become easier to understand, it's the message when the uniGui Resources tab on the Server Memory (internal) currenty item arrives 1,800,000 k according to the image I am sending Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 22, 2014 Administrators Share Posted May 22, 2014 Your app conusmes too much memory. What kind of app is this? Link to comment Share on other sites More sharing options...
AndersonSOS Posted May 26, 2014 Author Share Posted May 26, 2014 I have an application for registration of carriers made in my business, and it seems that when working with grid he is giving this memory problem. is attached to the project analysis. Unzip the "C:\Master Tróia 2013" Using Firebird 2.5.1 I did the project in Delphi XE3 Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 26, 2014 Administrators Share Posted May 26, 2014 Ungui version? Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 26, 2014 Administrators Share Posted May 26, 2014 I couldn't run your app. I couldn't connect to your GDB file. It constantly gives me the "Unavailable Database" message and I don't have time to resolve this. Give me the following info: uniGUI Ver no? Howmany sessions are open when you run out of memory? Link to comment Share on other sites More sharing options...
wrt54gs Posted May 27, 2014 Share Posted May 27, 2014 also how many years Delphi experience? Link to comment Share on other sites More sharing options...
Abaksoft Posted June 3, 2014 Share Posted June 3, 2014 Hi AndersonSOS, 1. "...application for registration of carriers made in my business, and it seems that when working with grid he is giving this memory problem." In your dbGrid, are you fetching all data from a DataSet ? If Yes, this could be a problem in web application. try to put property of your dataset (clientDataset) : - fetchAll = False - packetRecord = 100 (instead of -1) 2. Your database extension seems .GDB (interbase) Are you using really Firebird ? Greetings. Link to comment Share on other sites More sharing options...
AndersonSOS Posted December 29, 2014 Author Share Posted December 29, 2014 Good morning, after updating the version to the current apparently my memory issue is resolved. I thank everyone who tried to help. Link to comment Share on other sites More sharing options...
Recommended Posts