AndersonSOS Posted May 21, 2014 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?
Administrators Farshad Mohajeri Posted May 21, 2014 Administrators 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?
rencarnacion Posted May 21, 2014 Posted May 21, 2014 Hi, Farshad, where I must put the Instruccion "ReportMemoryLeaksOnShutdown := True;" ? In the MainModule or ServerController ? Thanks
Administrators Farshad Mohajeri Posted May 21, 2014 Administrators Posted May 21, 2014 After "begin" in project source code.
AndersonSOS Posted May 21, 2014 Author Posted May 21, 2014 Thanks for the reply I will put this line and see him behave.
AndersonSOS Posted May 21, 2014 Author 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
Administrators Farshad Mohajeri Posted May 22, 2014 Administrators Posted May 22, 2014 Your app conusmes too much memory. What kind of app is this?
AndersonSOS Posted May 26, 2014 Author 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
Administrators Farshad Mohajeri Posted May 26, 2014 Administrators Posted May 26, 2014 Ungui version?
Administrators Farshad Mohajeri Posted May 26, 2014 Administrators 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?
Abaksoft Posted June 3, 2014 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.
AndersonSOS Posted December 29, 2014 Author 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.
Recommended Posts