Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] gsh xmlimport memory usage

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] gsh xmlimport memory usage


Chronological Thread 
  • From: Tom Zeller <>
  • To: Colin Hudler <>
  • Cc:
  • Subject: Re: [grouper-users] gsh xmlimport memory usage
  • Date: Thu, 17 Dec 2009 09:23:55 -0600
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=Il+hdlIKzdQi47GACq2+AF1+bdT3kTNJJ5NobeDJc2vHuUQsdYIWhtENCDwwmrOU8A lEtJl7181xUad84OzebcfnQG3eDce4yjZG6xvLGRzjN5cKRIZcDYYxH2zY44JFcqpccD 5LlE4HooYI0dqc82QFAa1mZwLKdwHsZBqG21M=

We use a custom source adapter to match our custom person source.
Perhaps the JNDI source adapter isn't closing connections
appropriately - I haven't checked though.

On Thu, Dec 17, 2009 at 9:18 AM, Colin Hudler
<>
wrote:
> The backup file is 256M.  Memberships are 1507480, in 90908 groups.  The
> subject source is
> edu.internet2.middleware.grouper.subj.GrouperJndiSourceAdapter, but maybe I
> will change it and compare.
>
> Tom Zeller wrote:
>>
>> What is the filesize of backup.xml ? How many memberships do you have ?
>>
>> I've been able to xmlimport with Xmx=1024m, and we have ~1 million
>> memberships (select count(*) from grouper_memberships), and our xml
>> export is ~175MB.
>>
>> What source adapters are you using ?
>>
>> This doesn't answer your question, of course.
>>
>> TomZ
>>
>> On Thu, Dec 17, 2009 at 9:00 AM, Colin Hudler
>> <>
>> wrote:
>>>
>>> Hi,
>>>
>>>  Congrats on the fantastic new release, nice stuff.  I am doing upgrade
>>> rehearsals under Method 1,
>>>
>>> "./bin/gsh.sh -xmlimport GrouperSystem backup.xml"
>>>
>>> But it always uses all of the memory.  I increased it to 4GB, but it
>>> still
>>> actually commits that much.  Before moving on to method 2, I thought I'd
>>> ask, is there anything I can do reduce it?
>>>
>>> Obviously, this is the actual error:
>>>
>>> java.lang.OutOfMemoryError: Java heap space
>>>
>>
>



Archive powered by MHonArc 2.6.16.

Top of Page