[
http://mifosforge.jira.com/browse/MIFOS-2735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
jbrewster updated MIFOS-2735:
-----------------------------
Status: Verified (was: Resolved)
> ApplyHolidayChangesTask batch task falls over if too many schedules to be
> updated
> ---------------------------------------------------------------------------------
>
> Key: MIFOS-2735
> URL: http://mifosforge.jira.com/browse/MIFOS-2735
> Project: mifos
> Issue Type: Bug
> Components: Batch jobs
> Affects Versions: Release 1.4
> Reporter: johnwoodlock
> Assignee: johnwoodlock
> Fix For: Shamim D
>
>
> Task takes new holidays and adjusts any schedules it needs to.
> Problems
> 1. When testing GenerateMeetingsForCustomerAndSavingsTask with a large
> dataset, it fell over with a java heap exception. There were a large number
> of schedules that would have had to be adjusted and it was too much for it to
> handle. Note, I had set my date way in the future for testing purposes.
> 03/01/2011 5:18:45 PM
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor
> processChildren
> SEVERE: Exception invoking periodic operation:
> java.lang.OutOfMemoryError: Java heap space
> I think this task may need to be changed to how other batch jobs currently
> work (using batch size and commit frequencies to break up the work):
> a) get back all account ids that are affected by the holiday change
> b) get the account and adjust its schedules
> c) commit every X customer accounts.
> 2. The task only updates savings and loans schedules (not customer schedules).
> Not a problem for GK or any other client that doesn't use holidays.
> Not a problem if the holidays are defined well in advance so that no
> schedules need to be adjusted.
> I haven't tried to fix this batch task myself because
> 1) It doesn't affect GK (no holidays defined) and so is not a scalability
> issue just yet (that's what I'm working on at the moment)
> 2) Keith W and Keith P are working in that area currently so I just wanted to
> document this problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues