You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Peter Ent <pe...@adobe.com> on 2014/12/02 15:10:14 UTC

[FLEX-TLF] Building on Windows

Hi,

I normally do everything on a Mac, but I need to re-sync things on my Windows machine. I've tried to build flex-tlf and I get an error that the Java Virtual Machine could not be created and "Could not reserve enough space for object heap".

I edited the build.xml file and changed the value of "compc.jvm.args" to "-Xmx2048m" (I tried sizes 512, 768, and 1024 as well). I've done a some research and I think the computer has enough memory (8 GB) and is a 64-bit Windows 7 OS.

 I'm not sure what else to do.

I am running java 1.7.0_21 (build 1.7.0_21-b11)
Java HotSpot(TM) Client VM (build 1.7.0_21-b11, mixed mode)

Thanks,
Peter Ent
Adobe Systems


Re: [FLEX-TLF] Building on Windows

Posted by piotrz <pi...@gmail.com>.
Hi Peter,

Couple of weeks ago I've merged my code with unit tests for TLF to develop
branch. After that jenkins build was failing with error "Out of Memory" or
something similar. With Alex we tried to fix this increasing memory, but
finally we have fixed it in other way. We didn't revert our changes but now
we could back to the original values or to your values which working for
you. Feel free to commit it to the develop branch. :) 

Thanks,
Piotr



-----
Apache Flex PMC
piotrzarzycki21@gmail.com
--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FLEX-TLF-Building-on-Windows-tp42933p42957.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FLEX-TLF] Building on Windows

Posted by Peter Ent <pe...@adobe.com>.
I figured out the problem. flex-tlf has a build.properties file where the
jvm.args are set; I¹m not sure why there is a setting in build.xml. The
values for the jvm.args were too big for my little machine, so after I
scaled them back I was able to build TLF.

Peter

On 12/2/14, 9:14 AM, "Subscriptions" <su...@leeburrows.com> wrote:

>i've had problems in the past building flex-sdk with java 1.7; i had to
>revert to 1.6 to get things working
>
>worth a try?
>
>Lee Burrows
>ActionScripter
>
>On 02/12/2014 14:10, Peter Ent wrote:
>> Hi,
>>
>> I normally do everything on a Mac, but I need to re-sync things on my
>>Windows machine. I've tried to build flex-tlf and I get an error that
>>the Java Virtual Machine could not be created and "Could not reserve
>>enough space for object heap".
>>
>> I edited the build.xml file and changed the value of "compc.jvm.args"
>>to "-Xmx2048m" (I tried sizes 512, 768, and 1024 as well). I've done a
>>some research and I think the computer has enough memory (8 GB) and is a
>>64-bit Windows 7 OS.
>>
>>   I'm not sure what else to do.
>>
>> I am running java 1.7.0_21 (build 1.7.0_21-b11)
>> Java HotSpot(TM) Client VM (build 1.7.0_21-b11, mixed mode)
>>
>> Thanks,
>> Peter Ent
>> Adobe Systems
>>
>>
>


Re: [FLEX-TLF] Building on Windows

Posted by Subscriptions <su...@leeburrows.com>.
i've had problems in the past building flex-sdk with java 1.7; i had to 
revert to 1.6 to get things working

worth a try?

Lee Burrows
ActionScripter

On 02/12/2014 14:10, Peter Ent wrote:
> Hi,
>
> I normally do everything on a Mac, but I need to re-sync things on my Windows machine. I've tried to build flex-tlf and I get an error that the Java Virtual Machine could not be created and "Could not reserve enough space for object heap".
>
> I edited the build.xml file and changed the value of "compc.jvm.args" to "-Xmx2048m" (I tried sizes 512, 768, and 1024 as well). I've done a some research and I think the computer has enough memory (8 GB) and is a 64-bit Windows 7 OS.
>
>   I'm not sure what else to do.
>
> I am running java 1.7.0_21 (build 1.7.0_21-b11)
> Java HotSpot(TM) Client VM (build 1.7.0_21-b11, mixed mode)
>
> Thanks,
> Peter Ent
> Adobe Systems
>
>