• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Error java runtime environment

Guest
Aug 11, 2010 Aug 11, 2010

Copy link to clipboard

Copied

hi

i have create a virtual keyboard for english and tamil with backend process.
i have created tat virtual keyboard using custom component.

i have used that customcomponent(vkey.mxml)in main.mxml file

i have build the ant build.xml file .

that time it build sucessfully.

if i change any alignment or any thing i have build one more time.

that time i have received on hs_err_pid5032.log containing

A fatal error has been detected by the Java Runtime Environment.

jav.lang.outofMemoryError:requested 32756 bytes for chunkpool:allocated. out of swap space?

this is the error
how i rectify this error.
if i have build one more time the flashbuilder 4 and plugin eclipse application terminated.


regards

athi

Views

2.1K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Contributor , Aug 11, 2010 Aug 11, 2010

Oh okay ! It seems to be a fairly small project only.

Did the -Xmx work ? Is your issue solved ?

Balakrishnan V

Votes

Translate

Translate
Contributor ,
Aug 11, 2010 Aug 11, 2010

Copy link to clipboard

Copied

From the looks of it, it seems to be an out of memory error with the JVM.

http://nlc.nlc.go.cn/resin-doc/performance/jvm-tuning.xtp - This can help you increase the max. heap size in your JVM.

You would have better luck posting the same query in the Flex forum - http://forums.adobe.com/community/flex/flex_general_discussion

Also, if you specify some details about your environment, your project file descriptions etc., I could be more helpful.

Hope this helps,

Balakrishnan V

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 11, 2010 Aug 11, 2010

Copy link to clipboard

Copied

hi

my environment

1..flashbuilder 4   plugin with eclipse helios

2.java

3.mysql

4.windows xp

i dont know where i increase the heap size .

pls

give me ideas

regards

athi

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Aug 11, 2010 Aug 11, 2010

Copy link to clipboard

Copied

In the command line, java -Xmx<size>

If you type, java -X and press enter, it lists the options available.

Is you application huge ? How many mxml files / .as files are you having ?

Thanks

Balakrishnan V

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 11, 2010 Aug 11, 2010

Copy link to clipboard

Copied

hi

thans a lot fr ur reply

i enter java -Xmx 512

then it returns invalid maximum heap size:-Xmx

could not create the hjava virtual machine

can i send my mxml file

regards

athi

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Aug 11, 2010 Aug 11, 2010

Copy link to clipboard

Copied

No space between -Xmx and 512.

It is just java -Xmx512M.

And sorry, I forgot to mention. You have to give M(MB) or K(KB)

Sending your mxml file would be unnecessary. Is your project a large project ? (How many mxml/as files in all)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 11, 2010 Aug 11, 2010

Copy link to clipboard

Copied

hi

i have two mxml files

one is custom component engkeyboard.mxml

and another one is main.mxml

custom component engkeyboard.mxml contains java backend process.

so

this project folder contains

virtualVo.as

virtualVo.java

virtualServiceDAO.java

and assets folder contains some fonts .ttf files

regards

athi

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Aug 11, 2010 Aug 11, 2010

Copy link to clipboard

Copied

Oh okay ! It seems to be a fairly small project only.

Did the -Xmx work ? Is your issue solved ?

Balakrishnan V

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 11, 2010 Aug 11, 2010

Copy link to clipboard

Copied

hi

the -Xmx works well

but i got the error just "null "

regards

athi

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Aug 11, 2010 Aug 11, 2010

Copy link to clipboard

Copied

Where did you get null ? Could you elaborate ?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 11, 2010 Aug 11, 2010

Copy link to clipboard

Copied

hi

i have build the mxml files using build.xml

That time i got the error "null". and "build failed".

regards

viji

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Aug 11, 2010 Aug 11, 2010

Copy link to clipboard

Copied

You would have better luck trying in the Flex Forum - http://forums.adobe.com/community/flex/flex_general_discussion

By the way, does it work fine when you dont specify the -Xmx.

If so, try increasing the -Xmx value and then build.

Thanks

balakrishnan v

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 11, 2010 Aug 11, 2010

Copy link to clipboard

Copied

hi

thanks a lot

regards

athi

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Aug 12, 2010 Aug 12, 2010

Copy link to clipboard

Copied

LATEST

Just in case, try and see if this helps. (This is just an alternative way of setting the Xmx for JVM)

Go to the eclipse-dir/eclipse.ini config file and change the -Xmx value.

Hope this helps,

Balakrishnan V

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines