Running out of memory.. [message #55814] |
Thu, 02 December 2004 18:18  |
Eclipse User |
|
|
|
Originally posted by: Abhinav.Vohra.siebel.com
All
Whenever I load an XSD that imports more than 2 or 3 other xsds the memory
spikes. In addition, it seems like this memory isnt being freed up. Does the
XSD library store loaded XSDResource statically?
The following is a snippet of code I'm using to load my XSD. I provide the
resourceset with a custom URIConverter to handle imports.
ResourceSet resourceSet = XSDSchemaImpl.createResourceSet();
resourceSet.setURIConverter(resolver);
Resource res = resourceSet.getResource(uri, true);
|
|
|
Re: Running out of memory.. [message #55868 is a reply to message #55814] |
Fri, 03 December 2004 05:17  |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Abhinav,
Your models are loaded into your local resource set and should last
only/just as long.
Abhinav Vohra wrote:
>All
>Whenever I load an XSD that imports more than 2 or 3 other xsds the memory
>spikes. In addition, it seems like this memory isnt being freed up. Does the
>XSD library store loaded XSDResource statically?
>
>
>The following is a snippet of code I'm using to load my XSD. I provide the
>resourceset with a custom URIConverter to handle imports.
>
>ResourceSet resourceSet = XSDSchemaImpl.createResourceSet();
>resourceSet.setURIConverter(resolver);
>
>Resource res = resourceSet.getResource(uri, true);
>
>
>
>
>
|
|
|
Re: Running out of memory.. [message #592999 is a reply to message #55814] |
Fri, 03 December 2004 05:17  |
Eclipse User |
|
|
|
Abhinav,
Your models are loaded into your local resource set and should last
only/just as long.
Abhinav Vohra wrote:
>All
>Whenever I load an XSD that imports more than 2 or 3 other xsds the memory
>spikes. In addition, it seems like this memory isnt being freed up. Does the
>XSD library store loaded XSDResource statically?
>
>
>The following is a snippet of code I'm using to load my XSD. I provide the
>resourceset with a custom URIConverter to handle imports.
>
>ResourceSet resourceSet = XSDSchemaImpl.createResourceSet();
>resourceSet.setURIConverter(resolver);
>
>Resource res = resourceSet.getResource(uri, true);
>
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.24869 seconds