I have two tables in a parent-child relationship. Some of the parents
have a few children (say a few dozen) and others have many children
(over 100,000). I'm trying to run through the parents and pre-
calculate some statistics for their children (for example, average,
mode, standard deviation, etc.).
All this is working except when I reach a specific parent (#457) the
processing just hangs. I ran this through debug and it stalls at the
creation of the array for the children.
However, the system would have already processed a similar size array
(#30 has 118,000 children) and it seems it's in a loop. Activity
monitor says the java process is taking 100%.
Other background. I only save the ec after every 20 updates to the
parent records (to reduce write time). And I use
ec.invalidateAllObjects() right after saving to clear our memory.
Finally, there is nothing wrong with the data in parent/children of
#457 as I can start the process there (or a few parents ahead of this)
and it runs fine.
This seems like a memory problem, but I don't get an out of memory
exception.
Help on this?
Drew
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]