AFAIK, wrapper only takes effect if you are running registry as a demon and you have to give JVM parameters (either by editing wso2server.sh or via environment properties ) if you are running it through wso2server.sh --Srinath
On Mon, Jan 3, 2011 at 11:46 AM, Kishanthan Thangarajah <[email protected]> wrote: > Hi Senaka, > I tried several times increasing the memory size, but i cant upload a file > with size of 700mb to registry. Always getting the java memory(heap size) > error. > My ram is 3GB, > There are several parameters i find in wrapper.conf. > -Xms256m > -Xmx512m > -XX:MaxPermSize=128m > # Initial Java Heap Size (in MB) > wrapper.java.initmemory=256 > # Maximum Java Heap Size (in MB) > wrapper.java.maxmemory=512 > what i did is that i incresed the maxmemory to 1024 and MaxPermSize to > 512m. > Do i need to change anything else? > Thanks, > On Thu, Dec 30, 2010 at 10:27 PM, shelan Perera <[email protected]> wrote: >> >> Hi Senaka, >> File size may vary few Giga bytes (10-100 with realistic limits). Actually >> it is an attempt to create a big storage aggregating few G-Regs through a >> peer to peer network.I need to have a persistent storage attached to G-Reg ( >> Such as a file system). Would G-Reg be efficient in handling or have the >> feasibility. >> >> On Thu, Dec 30, 2010 at 10:01 PM, Senaka Fernando <[email protected]> wrote: >>> >>> Hi Shelan, >>> >>> When you say large chunks how big are these? >>> >>> The maximum file upload size varies with the maximum amount of memory >>> available. Also, you need to edit a parameter on the carbon.xml file to >>> increase the default file upload size of 100MB, and the wso2server.sh (or >>> wrapper.conf) to increase the default allocation of memory (which is 512MB >>> with 128MB permanent generation space). >>> >>> Thanks, >>> Senaka. >>> >>> On Thu, Dec 30, 2010 at 9:12 PM, shelan Perera <[email protected]> >>> wrote: >>>> >>>> Hi all, >>>> I have an requirement to upload large chunks of data to G-Reg. >>>> What is the maximum file upload size G-Reg can handle if I upload >>>> remotely to a server.? >>>> I intend to use WSO2 G-Reg as a meta data management layer at the >>>> primary level but would like to know is it capable of handling large data >>>> chunks to upload through G-Reg directly. >>>> Could you please enlighten me on the suitability of G-Reg for the above >>>> requirement. >>>> Thanks >>>> >>>> -- >>>> Shelan Perera >>>> >>>> Blog : http://www.shelanlk.com >>>> Twitter:shelan >>>> skype :shelan.perera >>>> gtalk :shelanrc >>>> >>>> I am the master of my fate: >>>> I am the captain of my soul. >>>> *invictus* >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> Carbon-dev mailing list >>>> [email protected] >>>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>> >>> >>> >>> >>> -- >>> Senaka Fernando >>> Associate Technical Lead & Product Manager - WSO2 G-Reg; >>> WSO2, Inc.; http://wso2.com >>> Member; Apache Software Foundation; http://apache.org >>> >>> E-mail: senaka AT wso2.com >>> P: +1 408 754 7388; ext: 51736; M: +94 77 322 1818 >>> Linked-In: http://www.linkedin.com/in/senakafernando >>> >>> Lean . Enterprise . Middleware >>> >>> >>> _______________________________________________ >>> Carbon-dev mailing list >>> [email protected] >>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >> >> >> >> -- >> Shelan Perera >> >> Blog : http://www.shelan.info >> Twitter:shelan >> skype :shelan.perera >> gtalk :shelanrc >> >> I am the master of my fate: >> I am the captain of my soul. >> *invictus* >> >> >> >> >> >> >> >> >> _______________________________________________ >> Carbon-dev mailing list >> [email protected] >> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> > > > > -- > Kishanthan.T > University of Moratuwa. > SriLanka. > -- ============================ Srinath Perera, Ph.D. Senior Software Architect, WSO2 Inc. Visiting Lecturer, University of Moratuwa Member, Apache Software Foundation Research Scientist, Lanka Software Foundation Blog: http://srinathsview.blogspot.com/ _______________________________________________ Carbon-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
