I iCAB Well-Known Member Licensed User Longtime User Jul 22, 2017 #1 Hi All I am wondering is there any disadvantage for disabling optimized dex step. In my case it is failing every single time, even though I increased MaxRamForDex=2048 it seems to be related to the size of the app ( over 100K lines ) . For smaller apps it works just fine Thanks in Advance Last edited: Jul 22, 2017
Hi All I am wondering is there any disadvantage for disabling optimized dex step. In my case it is failing every single time, even though I increased MaxRamForDex=2048 it seems to be related to the size of the app ( over 100K lines ) . For smaller apps it works just fine Thanks in Advance
Erel B4X founder Staff member Licensed User Longtime User Jul 23, 2017 #2 You can set a higher limit if there is enough memory and you are using Java 64 bit. The only downside for disabling it is that compilation will be slower. However if it fails every time then it will actually be faster with it disabled. Upvote 0
You can set a higher limit if there is enough memory and you are using Java 64 bit. The only downside for disabling it is that compilation will be slower. However if it fails every time then it will actually be faster with it disabled.
I iCAB Well-Known Member Licensed User Longtime User Jul 23, 2017 #3 Erel said: You can set a higher limit if there is enough memory and you are using Java 64 bit. The only downside for disabling it is that compilation will be slower. However if it fails every time then it will actually be faster with it disabled. Click to expand... Is it doing any code optimization for speed or size? Thanks for your reply Upvote 0
Erel said: You can set a higher limit if there is enough memory and you are using Java 64 bit. The only downside for disabling it is that compilation will be slower. However if it fails every time then it will actually be faster with it disabled. Click to expand... Is it doing any code optimization for speed or size? Thanks for your reply
Erel B4X founder Staff member Licensed User Longtime User Jul 23, 2017 #4 No. The optimized dexer is faster as it precompiles in the background. The output is the same. Upvote 0