M mcmanu Active Member Licensed User Longtime User Mar 30, 2012 #1 I can not Compile my application, it says the code is too large :-( what can i do?
NJDude Expert Licensed User Longtime User Mar 30, 2012 #2 You will have to edit a line in your B4A ini, you can find it here: B4X: C:\Documents and Settings\<YOUR USER PROFILE>\Application Data\Anywhere Software\Basic4android Change the line for MaxRamForDex to somethnig like: B4X: MaxRamForDex=512 I'm assuming you have Windows XP and B4A 1.9 Upvote 0
You will have to edit a line in your B4A ini, you can find it here: B4X: C:\Documents and Settings\<YOUR USER PROFILE>\Application Data\Anywhere Software\Basic4android Change the line for MaxRamForDex to somethnig like: B4X: MaxRamForDex=512 I'm assuming you have Windows XP and B4A 1.9
M mcmanu Active Member Licensed User Longtime User Mar 30, 2012 #3 Hi Thx, i cannot find such an ini file, i have basic 1.9 and windows 7 Upvote 0
NJDude Expert Licensed User Longtime User Mar 30, 2012 #4 The INI should be named something like 'b4aV0.1.ini', you better navigate to the location I indicated. Upvote 0
The INI should be named something like 'b4aV0.1.ini', you better navigate to the location I indicated.
A admac231 Active Member Licensed User Longtime User Mar 30, 2012 #5 On windows 7 it is C:\Users\[USERNAME]\AppData\Roaming\Anywhere Software\Basic4android Upvote 0
nfordbscndrd Well-Known Member Licensed User Longtime User Mar 30, 2012 #6 mcmanu said: I can not Compile my application, it says the code is too large :-( what can i do? Click to expand... How large is your app? Mine is over 12,000 lines and I've never had trouble compiling, but if I'm creeping up on some kind of limit, I would like to know. Upvote 0
mcmanu said: I can not Compile my application, it says the code is too large :-( what can i do? Click to expand... How large is your app? Mine is over 12,000 lines and I've never had trouble compiling, but if I'm creeping up on some kind of limit, I would like to know.
T timo Active Member Licensed User Longtime User Mar 30, 2012 #7 [solved in german forum: sub > 64Kb] Upvote 0
P Penko Active Member Licensed User Longtime User Mar 31, 2012 #8 So, a sub can't be bigger than that or there is another reason? Sent from my HTC Desire using Tapatalk Upvote 0
So, a sub can't be bigger than that or there is another reason? Sent from my HTC Desire using Tapatalk
T timo Active Member Licensed User Longtime User Mar 31, 2012 #9 ref: http://www.b4x.com/forum/german-forum/16468-code-too-large.html (it seems to be a java limit) Upvote 0
A admac231 Active Member Licensed User Longtime User Mar 31, 2012 #10 Bare in mind, 64kb = ~32000 ASCII characters Average English word length = 5.1 characters Your sub can be ~6274 words long. You can also just split the sub quite easily. Upvote 0
Bare in mind, 64kb = ~32000 ASCII characters Average English word length = 5.1 characters Your sub can be ~6274 words long. You can also just split the sub quite easily.
P Penko Active Member Licensed User Longtime User Apr 3, 2012 #11 I always split my actions in as much subs as posible to ensure reusability. Sent from my HTC Desire using Tapatalk Upvote 0
I always split my actions in as much subs as posible to ensure reusability. Sent from my HTC Desire using Tapatalk
O omoba Active Member Licensed User Longtime User Oct 10, 2012 #12 Too large................. This might be late, but I got the same error about project too large..... Go to Tools in the menu bar Make sure the Remote Compilation Mode is not checked. All should be cool after unchecking Upvote 0
Too large................. This might be late, but I got the same error about project too large..... Go to Tools in the menu bar Make sure the Remote Compilation Mode is not checked. All should be cool after unchecking
JonPM Well-Known Member Licensed User Longtime User Oct 10, 2012 #13 Remote Compilation didn't exist when this was originally posted... Upvote 0
O omoba Active Member Licensed User Longtime User Oct 10, 2012 #14 I guess info for future programming. I ran into the same problem last night and I was changing the MaxRamforDev to no avail. Reinstalling to no avail. Reading forum to no avail. Upvote 0
I guess info for future programming. I ran into the same problem last night and I was changing the MaxRamforDev to no avail. Reinstalling to no avail. Reading forum to no avail.