SourceForge.net Logo
Main Overview Wiki Issues Forum Build Fisheye
Issue Details (XML | Word | Printable)

Key: CMP-308
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Shay Banon
Reporter: Nick Minutello
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Compass

OutOfMemoryError on startup with deep/wide polymorphic component relationship

Created: 25/Oct/06 09:53 PM   Updated: 24/Nov/06 06:11 AM
Component/s: Compass::Core
Affects Version/s: 1.1 M2
Fix Version/s: 1.1 M3

File Attachments: 1. Zip Archive compassOOME.zip (3.61 MB)



 Description  « Hide
It seems that if you have enough aliases in the ref-alias list of a polymorphic relationship, then you get an OutOfMemoryError.

By changing line 13/14 of Father.cmp.xml you can hit/miss the OOME. If you turn -verbose:true on though, you see the memory uitlisation is quite high even if you dont get an OOME.

Code attached



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Shay Banon added a comment - 27/Oct/06 09:17 AM
This is related to CMP-304, which has been fixed. After the fix, the code attached works as well. Can you validate this on your side?