Bug 779

Summary: Memory leaks found.
Product: CS3343 Salon Booking System Reporter: chtsang246-c
Component: admin.monthly_summary.ReadAssignee: kwanng9 <kwanng9-c>
Status: RESOLVED FIXED    
Severity: enhancement CC: shukhyiu2-c
Priority: Normal    
Version: 2.1   
Hardware: PC   
OS: Mac OS   

Description chtsang246-c 2023-11-14 10:41:27 HKT
Description:
Memory leaks found.

Overview:
The uses of memory always become higher in interacting on the database.

Steps to Reproduce: 
1. login as user
2. any action that uses the data from database

Actual Result:
The memory use of the application is extremely high. It may trigger out of memory error and affect the overall performance for the application since it always spends memory to store the data or object that may no longer useful in the system. Finally, it results in a failure state when the usage of the application is too high.

Expected Result:
In every time runs, the memory usage of the application should be stable and allows that there are some miner extra spend on receiving data from external.

Build Date & Hardware:
Build 2023-11-13 on Mac OS 13.1

Additional Information:
Please help to check if the system release the data object after the operating tasks is completed.
Comment 1 shukhyiu2-c 2023-11-14 14:00:23 HKT
Confirmed and fixed. The system release the unnecessary data object in all classes when every runs is ended. Now the memory usage of the application become stable.