| Newsgroups |
gmane.comp.java.openamf.user |
| Message-ID |
<[email protected]> |
If you look at the java source for serialization of objects you will see that it is recursive. Sometimes when you use complex objects your thread stack runs out, hence the out of memory.
----- Original Message -----
From: Ian Pojman <[email protected]>
Date: Wednesday, January 19, 2005 4:08 pm
Subject: Re: [Openamf-user] Java.lang.StackOverflowError
> have run into this before. wasn't sure exactly the nature of the
> problem, but I resolved it by returning a map of properties
> instead of
> my complex object structure.....
>
>
> On Tue, 18 Jan 2005 19:01:38 -0800 (PST), Troy Gardner
> <[email protected]> wrote:
> > I'd be interested if it's a circular dependency that AMF can't
> deserialize> properly.
> >
> > Baring that, serialize it differently on the client. e.g. two arrays
> >
> > Company.id = 13;
> > Company.Contacts:Array = new Array();
> > Company.Contacts.push(contact.id =1);
> > Company.Contacts.push(contact.id =2);
> >
> > //contacts array
> > contacts.companyID =13;
> >
> >
> > -------------------------------------------------------
> > The SF.Net email is sponsored by: Beat the post-holiday blues
> > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> > It's fun and FREE -- well,
> almost....http://www.thinkgeek.com/sfshirt>
> _______________________________________________> Openamf-user
> mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/openamf-user
> >
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive
> ReportingTool for open source databases. Create drag-&-drop
> reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Openamf-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openamf-user
>
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl