getting error with startofbiz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

getting error with startofbiz

BJ Freeman
using jdk1.6.0_19
version 104453
windows xp
.\ant run-install
sucessful
startofbiz
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
.\ant run
works.

any Ideas?

=========================
BJ Freeman
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man

Reply | Threaded
Open this post in threaded view
|

Re: getting error with startofbiz

rajsaini
Check the -Xms and -Xmx settings. This generally happens when -Xmx value
is more than the system RAM.


On Sunday 12 December 2010 08:39 AM, BJ Freeman wrote:

> using jdk1.6.0_19
> version 104453
> windows xp
> .\ant run-install
> sucessful
> startofbiz
> Error occurred during initialization of VM
> Could not reserve enough space for object heap
> Could not create the Java virtual machine.
> .\ant run
> works.
>
> any Ideas?
>
> =========================
> BJ Freeman
> Strategic Power Office with Supplier Automation
> <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
> Specialtymarket.com <http://www.specialtymarket.com/>
> Systems Integrator-- Glad to Assist
>
> Chat  Y! messenger: bjfr33man
>
>

Reply | Threaded
Open this post in threaded view
|

Re: getting error with startofbiz

BJ Freeman
In reply to this post by BJ Freeman


thanks, of 1.7 gig only using 800 gig before starting.

Raj Saini sent the following on 12/11/2010 10:09 PM:


=========================
BJ Freeman
Strategic Power Office with Supplier Automation
<http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man

> Check the -Xms and -Xmx settings. This generally happens when -Xmx value
> is more than the system RAM.
>
>
> On Sunday 12 December 2010 08:39 AM, BJ Freeman wrote:
>> using jdk1.6.0_19
>> version 104453
>> windows xp
>> .\ant run-install
>> sucessful
>> startofbiz
>> Error occurred during initialization of VM
>> Could not reserve enough space for object heap
>> Could not create the Java virtual machine.
>> .\ant run
>> works.
>>
>> any Ideas?
>>
>> =========================
>> BJ Freeman
>> Strategic Power Office with Supplier Automation
>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
>> Specialtymarket.com <http://www.specialtymarket.com/>
>> Systems Integrator-- Glad to Assist
>>
>> Chat Y! messenger: bjfr33man
>>
>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: getting error with startofbiz

rajsaini
It is not about how much memory is available or used. It is about how
much you have allocated in -Xmx. If the -Xmx limit exceeds the total
available on system (for example 32 bit machines have 3Gb limit), you
will see this error.

On Monday 13 December 2010 02:20 AM, BJ Freeman wrote:

>
>
> thanks, of 1.7 gig only using 800 gig before starting.
>
> Raj Saini sent the following on 12/11/2010 10:09 PM:
>
>
> =========================
> BJ Freeman
> Strategic Power Office with Supplier Automation
> <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
> Specialtymarket.com <http://www.specialtymarket.com/>
> Systems Integrator-- Glad to Assist
>
> Chat  Y! messenger: bjfr33man
>
>> Check the -Xms and -Xmx settings. This generally happens when -Xmx value
>> is more than the system RAM.
>>
>>
>> On Sunday 12 December 2010 08:39 AM, BJ Freeman wrote:
>>> using jdk1.6.0_19
>>> version 104453
>>> windows xp
>>> .\ant run-install
>>> sucessful
>>> startofbiz
>>> Error occurred during initialization of VM
>>> Could not reserve enough space for object heap
>>> Could not create the Java virtual machine.
>>> .\ant run
>>> works.
>>>
>>> any Ideas?
>>>
>>> =========================
>>> BJ Freeman
>>> Strategic Power Office with Supplier Automation
>>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
>>> Specialtymarket.com <http://www.specialtymarket.com/>
>>> Systems Integrator-- Glad to Assist
>>>
>>> Chat Y! messenger: bjfr33man
>>>
>>>
>>
>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: getting error with startofbiz

Jacques Le Roux
Administrator
From: "Raj Saini" <[hidden email]>
> It is not about how much memory is available or used. It is about how
> much you have allocated in -Xmx. If the -Xmx limit exceeds the total
> available on system (for example 32 bit machines have 3Gb limit), you
> will see this error.

Moreover on Windows the limit by JVM instance is about 1.5BG (at least on a 32 bits machine)

Jacques
 

> On Monday 13 December 2010 02:20 AM, BJ Freeman wrote:
>>
>>
>> thanks, of 1.7 gig only using 800 gig before starting.
>>
>> Raj Saini sent the following on 12/11/2010 10:09 PM:
>>
>>
>> =========================
>> BJ Freeman
>> Strategic Power Office with Supplier Automation
>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
>> Specialtymarket.com <http://www.specialtymarket.com/>
>> Systems Integrator-- Glad to Assist
>>
>> Chat  Y! messenger: bjfr33man
>>
>>> Check the -Xms and -Xmx settings. This generally happens when -Xmx value
>>> is more than the system RAM.
>>>
>>>
>>> On Sunday 12 December 2010 08:39 AM, BJ Freeman wrote:
>>>> using jdk1.6.0_19
>>>> version 104453
>>>> windows xp
>>>> .\ant run-install
>>>> sucessful
>>>> startofbiz
>>>> Error occurred during initialization of VM
>>>> Could not reserve enough space for object heap
>>>> Could not create the Java virtual machine.
>>>> .\ant run
>>>> works.
>>>>
>>>> any Ideas?
>>>>
>>>> =========================
>>>> BJ Freeman
>>>> Strategic Power Office with Supplier Automation
>>>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
>>>> Specialtymarket.com <http://www.specialtymarket.com/>
>>>> Systems Integrator-- Glad to Assist
>>>>
>>>> Chat Y! messenger: bjfr33man
>>>>
>>>>
>>>
>>>
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: getting error with startofbiz

Colin Rooney-2
In reply to this post by rajsaini
I've used small "local" virtual machines (both VM & recently
VirtualBox) in the past with memory as low as 512mb to run OfBiz (as
test), but recently when I deployed to a hosted VPS with 768Mb of ram
I encountered this same problem. I had modified the -Xmx setings to
512Mb and I cut out ever un-needed service on the VPS so that I had
>700Mb available before running the startofbiz.sh ofbiz but I always
received the out of memory error.  Experimenting I noticed I could
only allocated 256Mb (using -Xmx) before I would get the out or memory
error... even just doing a "java -Xmx 512M -version"!

From googling what I could determine was there seemed to be problem
running java under some virtualisation ... I cannot remember the exact
details but it was something along the lines of java not
distinguishing correctly between real & virtualised memory totals
which caused things to go wrong. ??

Strangely ... in the end I manage to start ofbiz by dropping the
script and just running java -jar ofbiz.jar ... But I am guessing the
defaults are very low.. but it was just a test machine & it ran so I
figured I'd wasted enough time and just moved on.

Colin
ps. when I installed ofbiz on this system initially it had run with
512Mb.  but when I came back to it after a month or so it no longer
did.

On 13 December 2010 06:06, Raj Saini <[hidden email]> wrote:

> It is not about how much memory is available or used. It is about how much
> you have allocated in -Xmx. If the -Xmx limit exceeds the total available on
> system (for example 32 bit machines have 3Gb limit), you will see this
> error.
>
> On Monday 13 December 2010 02:20 AM, BJ Freeman wrote:
>>
>>
>> thanks, of 1.7 gig only using 800 gig before starting.
>>
>> Raj Saini sent the following on 12/11/2010 10:09 PM:
>>
>>
>> =========================
>> BJ Freeman
>> Strategic Power Office with Supplier Automation
>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
>> Specialtymarket.com <http://www.specialtymarket.com/>
>> Systems Integrator-- Glad to Assist
>>
>> Chat  Y! messenger: bjfr33man
>>
>>> Check the -Xms and -Xmx settings. This generally happens when -Xmx value
>>> is more than the system RAM.
>>>
>>>
>>> On Sunday 12 December 2010 08:39 AM, BJ Freeman wrote:
>>>>
>>>> using jdk1.6.0_19
>>>> version 104453
>>>> windows xp
>>>> .\ant run-install
>>>> sucessful
>>>> startofbiz
>>>> Error occurred during initialization of VM
>>>> Could not reserve enough space for object heap
>>>> Could not create the Java virtual machine.
>>>> .\ant run
>>>> works.
>>>>
>>>> any Ideas?
>>>>
>>>> =========================
>>>> BJ Freeman
>>>> Strategic Power Office with Supplier Automation
>>>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
>>>> Specialtymarket.com <http://www.specialtymarket.com/>
>>>> Systems Integrator-- Glad to Assist
>>>>
>>>> Chat Y! messenger: bjfr33man
>>>>
>>>>
>>>
>>>
>>
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: getting error with startofbiz

BJ Freeman
In reply to this post by rajsaini
since I am using OOTB and it has always worked.
then the OOTB by default (startofbiz.bat)
since I can do a .\ant run,
I am not going to put any energy into why it does not work.

=========================
BJ Freeman
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man

Raj Saini sent the following on 12/12/2010 10:06 PM:


> It is not about how much memory is available or used. It is about how
> much you have allocated in -Xmx. If the -Xmx limit exceeds the total
> available on system (for example 32 bit machines have 3Gb limit), you
> will see this error.
>
> On Monday 13 December 2010 02:20 AM, BJ Freeman wrote:
>>
>>
>> thanks, of 1.7 gig only using 800 gig before starting.
>>
>> Raj Saini sent the following on 12/11/2010 10:09 PM:
>>
>>
>> =========================
>> BJ Freeman
>> Strategic Power Office with Supplier Automation
>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
>> Specialtymarket.com <http://www.specialtymarket.com/>
>> Systems Integrator-- Glad to Assist
>>
>> Chat Y! messenger: bjfr33man
>>
>>> Check the -Xms and -Xmx settings. This generally happens when -Xmx value
>>> is more than the system RAM.
>>>
>>>
>>> On Sunday 12 December 2010 08:39 AM, BJ Freeman wrote:
>>>> using jdk1.6.0_19
>>>> version 104453
>>>> windows xp
>>>> .\ant run-install
>>>> sucessful
>>>> startofbiz
>>>> Error occurred during initialization of VM
>>>> Could not reserve enough space for object heap
>>>> Could not create the Java virtual machine.
>>>> .\ant run
>>>> works.
>>>>
>>>> any Ideas?
>>>>
>>>> =========================
>>>> BJ Freeman
>>>> Strategic Power Office with Supplier Automation
>>>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
>>>> Specialtymarket.com <http://www.specialtymarket.com/>
>>>> Systems Integrator-- Glad to Assist
>>>>
>>>> Chat Y! messenger: bjfr33man
>>>>
>>>>
>>>
>>>
>>
>>
>
>