B4J Question B4JBuilder - code too large problem

JackKirk

Well-Known Member
Licensed User
Longtime User
This is a bit weird.

I have a very large B4J app that does video processing in an AWS EC2 instance.

The main procedure has a total of 16 steps - which I have successfully broken out into separate ResumableSub subs - 1 per step.

So no one sub is particularly large.

I can successfully compile it from the B4J IDE - either with Release or Release(obfuscated).

When I try to compile it using B4JBuilder I get:
System.Exception: Error: src\b4j\example\main.java:3138: error: code too large
}public static String _process_globals() throws Exception{
^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
I am assuming there is some option I can throw at B4JBuilder to fix this but what?

Any help appreciated...
 
Last edited:

JackKirk

Well-Known Member
Licensed User
Longtime User
Erel,

My apologies,

In response to your post I dug deeper and realised what I was doing wrong.

Explanation is a bit involved and definitely not of interest to forum members.

Thanks...
 
Upvote 0
Top