[OpenVPMS Developers] [JIRA] Created: (OVPMS-1067) Cache objects during editing to reduce memory, db use

Message from Tim Anderson (JIRA) jira@openvpms.org

Cache objects during editing to reduce memory, db use -----------------------------------------------------

Key: OVPMS-1067 URL: https://openvpms.atlassian.net/browse/OVPMS-1067 Project: VPMS Web Application Issue Type: Task Components: General Affects Versions: 1.4 Reporter: Tim Anderson Assignee: Tony De Keizer Fix For: 1.5

Currently, limited caching is used when editing objects. If an object is held in the edit Context, this will be used otherwise the object will be retrieved from the db. When editing large object graphs, such as orders with numerous order items, there can be a high memory overhead as multiple order items can have their own copies of suppliers. To overcome this, objects needed during editing should be cached. They should be held with a soft reference so they can be reclaimed by the garbage collector.

-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://openvpms.atlassian.net/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira

_______________________________________________ OpenVPMS Developers Mailing List developers@lists.openvpms.org To unsubscribe or change your subscription visit: http://lists.openvpms.org/listinfo/developers Posts from this mailing list can be viewed online and replied to in the OpenVPMS Developer's forum- http://tinyurl.com/openvdf

Syndicate content