Bug 779 - Memory leaks found.
Summary: Memory leaks found.
Status: RESOLVED FIXED
Alias: None
Product: CS3343 Salon Booking System
Classification: Unclassified
Component: admin.monthly_summary.Read (show other bugs)
Version: 2.1
Hardware: PC Mac OS
: Normal enhancement
Assignee: kwanng9@my.cityu.edu.hk
URL:
Depends on:
Blocks:
 
Reported: 2023-11-14 10:41 HKT by chtsang246-c
Modified: 2023-11-14 14:00 HKT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.