27 June 2010 at 18:31
filed under Uncategorized
Tagged flash
if error “5005: Unknown error optimizing byte code” and white screen at compilation, we can increase the memory given to the compilator :
create the file ~/.MacOSX/environment.plist and copy :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>JAVA_TOOL_OPTIONS</key>
<string>-Xmx512m</string>
</dict>
</plist>
then log out for the change to take effect
with CS5 we also should modify this file : ~/Library/Application Support/Adobe/Flash CS5/en_US/Configuration/ActionScript3.0/jvm.ini
and change -Xmx128m by -Xmx512m
restart flash and it should be ok
no comments
RSS / trackback