updated DAE class resulting in "Unknown error optimizing byte code." in flashplayer10

5 messages Options
Embed this post
Permalink
dsdsdsdsd

updated DAE class resulting in "Unknown error optimizing byte code." in flashplayer10

Reply Threaded More More options
Print post
Permalink
hello;

I updated with the svn a couple of days ago;

when I run my pv3d app in flashplayer9 everything works;
when I run my pv3d app in flashplayer10 I get "5005: Unknown error optimizing byte code."


I have isolated the error:

private function function_that_does_not_get_called( ) : void
  { if ( true )
      { var lvo_DAE : DAE ;
       } ;
    // if ( false ) ...  no problem
  }


any thoughts?

thanks,
Shannon
JohnBrookes

Re: updated DAE class resulting in "Unknown error optimizing byte code." in flashplayer10

Reply Threaded More More options
Print post
Permalink
http://tinyurl.com/ye5vlw8
:)

2009/10/6 dsdsdsdsd <[hidden email]>

hello;

I updated with the svn a couple of days ago;

when I run my pv3d app in flashplayer9 everything works;
when I run my pv3d app in flashplayer10 I get "5005: Unknown error
optimizing byte code."


I have isolated the error:

private function function_that_does_not_get_called( ) : void
 { if ( true )
     { var lvo_DAE : DAE ;
      } ;
   // if ( false ) ...  no problem
 }


any thoughts?

thanks,
Shannon
--
View this message in context: http://www.nabble.com/updated-DAE-class-resulting-in-%22Unknown-error-optimizing-byte-code.%22-in-flashplayer10-tp25767322p25767322.html
Sent from the Papervision3D mailing list archive at Nabble.com.


_______________________________________________
Papervision3D mailing list
[hidden email]
http://osflash.org/mailman/listinfo/papervision3d_osflash.org


_______________________________________________
Papervision3D mailing list
[hidden email]
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
dsdsdsdsd

Re: updated DAE class resulting in "Unknown error optimizing byte code." in flashplayer10

Reply Threaded More More options
Print post
Permalink
ouch John; nevertheless ...

from negush.net:
So I’ve had this issue on our Project where we’ve reached a point we can’t add any more lines of code or new classes without getting this error, unless we start removing some. This is in CS4, in CS3 it’s not an issue yet (but I think after a bit it will have the exact same issue).
“Reduce file size and increase performance” – Option isn’t in CS4
“Delete ASO Files” – Didn’t work
“Save and Compact” – Didn’t work
“increasing java vm heap memory size” – WORKED!! (Thanks Tyler). But not with a value of 1024

We’ve managed to get it to work with values of -Xmx128M and -Xmx256M.
A value of -Xmx512M and higher we get the error “Error initializing JRE. You may need to reinstall Flash”. The machine being used has 2GB+ memory, I dunno if that’s an issue.

I think the default for Flash is -Xmx64M as that value still gets the byte code error.

I don’t know how much more code I can add before it fails again (maybe 4 times?). I can just only hope that Adobe sort this out soon.


how to "increasing java vm heap memory size"
#  Tyler Said,

Hey, I fixed this with a friends help by increasing java vm heap memory size. On Windows right click on my computer -> properties -> advanced -> environment vars -> then make a new var like this

JAVA_TOOL_OPTIONS

and its value

-Xmx1024M

then my project published with optimize byte code on. . . woot. . . .





JohnBrookes

Re: updated DAE class resulting in "Unknown error optimizing byte code." in flashplayer10

Reply Threaded More More options
Print post
Permalink
Also, if your using CS4 do an update. At least thats one I read on the away3D list.

2009/10/6 dsdsdsdsd <[hidden email]>

ouch John; nevertheless ...

from  http://www.negush.net/blog/5005-unknown-error-optimizing-byte-code/
negush.net
:
So I’ve had this issue on our Project where we’ve reached a point we can’t
add any more lines of code or new classes without getting this error, unless
we start removing some. This is in CS4, in CS3 it’s not an issue yet (but I
think after a bit it will have the exact same issue).
“Reduce file size and increase performance” – Option isn’t in CS4
“Delete ASO Files” – Didn’t work
“Save and Compact” – Didn’t work
“increasing java vm heap memory size” – WORKED!! (Thanks Tyler). But not
with a value of 1024

We’ve managed to get it to work with values of -Xmx128M and -Xmx256M.
A value of -Xmx512M and higher we get the error “Error initializing JRE. You
may need to reinstall Flash”. The machine being used has 2GB+ memory, I
dunno if that’s an issue.

I think the default for Flash is -Xmx64M as that value still gets the byte
code error.

I don’t know how much more code I can add before it fails again (maybe 4
times?). I can just only hope that Adobe sort this out soon.

how to "increasing java vm heap memory size"
#  Tyler Said,

Hey, I fixed this with a friends help by increasing java vm heap memory
size. On Windows right click on my computer -> properties -> advanced ->
environment vars -> then make a new var like this

JAVA_TOOL_OPTIONS

and its value

-Xmx1024M

then my project published with optimize byte code on. . . woot. . . .





--
View this message in context: http://www.nabble.com/updated-DAE-class-resulting-in-%22Unknown-error-optimizing-byte-code.%22-in-flashplayer10-tp25767322p25770672.html
Sent from the Papervision3D mailing list archive at Nabble.com.


_______________________________________________
Papervision3D mailing list
[hidden email]
http://osflash.org/mailman/listinfo/papervision3d_osflash.org


_______________________________________________
Papervision3D mailing list
[hidden email]
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
nospam

Re: updated DAE class resulting in "Unknown error optimizing byte code." in flashplayer10

Reply Threaded More More options
Print post
Permalink

Yeah - if you are using CS4, make sure you get the 10.0.2 patch/update,
because Flash CS4 unpatched has all kinds of problems....it's horrible
really.

Cheers


> Also, if your using CS4 do an update. At least thats one I read on the
> away3D list.
>
> 2009/10/6 dsdsdsdsd <[hidden email]>
>
>>
>> ouch John; nevertheless ...
>>
>> from
>> http://www.negush.net/blog/5005-unknown-error-optimizing-byte-code/
>> negush.net<http://www.negush.net/blog/5005-unknown-error-optimizing-byte-code/%0Anegush.net>:
>> So I’ve had this issue on our Project where we’ve reached a point we
>> can’t
>> add any more lines of code or new classes without getting this error,
>> unless
>> we start removing some. This is in CS4, in CS3 it’s not an issue yet
>> (but I
>> think after a bit it will have the exact same issue).
>> “Reduce file size and increase performance” – Option isn’t in
>> CS4
>> “Delete ASO Files” – Didn’t work
>> “Save and Compact” – Didn’t work
>> “increasing java vm heap memory size” – WORKED!! (Thanks Tyler).
>> But not
>> with a value of 1024
>>
>> We’ve managed to get it to work with values of -Xmx128M and -Xmx256M.
>> A value of -Xmx512M and higher we get the error “Error initializing
>> JRE.
>> You
>> may need to reinstall Flash”. The machine being used has 2GB+ memory,
>> I
>> dunno if that’s an issue.
>>
>> I think the default for Flash is -Xmx64M as that value still gets the
>> byte
>> code error.
>>
>> I don’t know how much more code I can add before it fails again (maybe
>> 4
>> times?). I can just only hope that Adobe sort this out soon.
>>
>> how to "increasing java vm heap memory size"
>> #  Tyler Said,
>>
>> Hey, I fixed this with a friends help by increasing java vm heap memory
>> size. On Windows right click on my computer -> properties -> advanced ->
>> environment vars -> then make a new var like this
>>
>> JAVA_TOOL_OPTIONS
>>
>> and its value
>>
>> -Xmx1024M
>>
>> then my project published with optimize byte code on. . . woot. . . .
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/updated-DAE-class-resulting-in-%22Unknown-error-optimizing-byte-code.%22-in-flashplayer10-tp25767322p25770672.html
>> Sent from the Papervision3D mailing list archive at Nabble.com.
>>
>>
>> _______________________________________________
>> Papervision3D mailing list
>> [hidden email]
>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>>
> _______________________________________________
> Papervision3D mailing list
> [hidden email]
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>



_______________________________________________
Papervision3D mailing list
[hidden email]
http://osflash.org/mailman/listinfo/papervision3d_osflash.org