Memory leaks in Schedule

While using Schedule the heap size is constantly growing. When I navigate to a new date and new collection of events is loaded from the remote URL the previous collection of events is not released and still kept in memory.

I use React Schedule("@syncfusion/ej2-react-schedule": "19.4.52"). Events are loaded using remote data source:

dataSource: new DataManager({

     url: '/api/v1/appointments',

      adaptor: new SchedulerAdaptor()

}).

I attached screenshot from your demo (https://ej2.syncfusion.com/react/demos/?_ga=2.47615904.686433993.1658241303-1645642644.1594124282#/bootstrap4/schedule/remote-data ).

Is there a workaround to prevent the heap from growing while navigating between days?


Thanks in advance.



Attachment: MemoryLeak_3de534d6.zip

6 Replies

RV Ravikumar Venkatesan Syncfusion Team July 28, 2022 10:08 AM UTC

Hi Ivan,


Thanks for your patience.


We have confirmed this as an issue at our end and logged the defect report “DataManager causes memory leak when we do multiple server side actions” for the same. Thank you for taking the time to report this issue and helping us to improve our product. At Syncfusion, we are committed to fix all validated defects (subject to technological feasibility and Product Development Life Cycle) and this fix will be included in our upcoming release which is expected to be rolled out on or before 10th August 2022.


You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.      


https://www.syncfusion.com/feedback/36648/datamanager-causes-memory-leak-when-we-do-multiple-server-side-actions


Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization”


Regards,

Ravikumar Venkatesan



PS Pavithra Subramaniyam Syncfusion Team August 19, 2022 09:51 AM UTC

Hi Ivan Pohorilyi,


We are sorry for the inconvenience.


Due to some complexities, we could not include the fix for the issue “DataManager causes memory leak when we do multiple server side actions” as we updated. However, we will include the fix in our Volume 3 2022 release which is expected by the end of September 2022. Until then we appreciate your patience.


Regards,

Pavithra S



IP Ivan Pohorilyi October 14, 2022 12:36 PM UTC

Hello guys,


any success with this issue? It's a bit annoying to get OutOfMemory exceptions every few hours 



PS Pavithra Subramaniyam Syncfusion Team October 17, 2022 02:40 PM UTC

Hi Ivan Pohorilyi,


Sorry for the inconvenience.


We have fixed the issue internally but due to some technical issues, we could not include this in our patch release. However, we will include the fix in our upcoming patch release on or before October 26th, 2022. Until then we appreciate your patience.


Regards,

Pavithra S



IP Ivan Pohorilyi October 18, 2022 01:07 PM UTC

Thanks for the update and your effort


Regards, Ivan



PS Pavithra Subramaniyam Syncfusion Team October 19, 2022 09:09 AM UTC

Hi Ivan Pohorilyi,


Thanks for your patience.


We are glad to announce the successful rollout of our Essential Javascript2 patch update (v20.3.50), which includes a fix for the issue with " DataManager causes memory leak when we do multiple server side actions". To include this fix, kindly upgrade your packages to this version.


Feedback Link: https://www.syncfusion.com/feedback/36648/datamanager-causes-memory-leak-when-we-do-multiple-server-side-actions


We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you need any further assistance.


Regards,

Pavithra S


Loader.
Up arrow icon