Android Question About Java Platform SE Binary consume too large memory space?

piyushvekariya025

Member
Licensed User
Longtime User
Hi, My laptop have 2 GB ram only.
I am creating an android app in which i use 8 jar library, so Java Platform SE Binary consume more than 700mb ram in my pc. so while debugging, PC is hanged. Is there any way to stop this.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Number of libraries is not related.
You are probably using a library that depends on Firebase SDK which is quite large.

2GB is barely enough for development. Compilation will be slow. Why waste your time waiting for the compiler?

You can disable the optimized dexer. Search for UseOptimizedDexer
 
Upvote 0
D

Deleted member 103

Guest
Hi, My laptop have 2 GB ram only.
I am creating an android app in which i use 8 jar library, so Java Platform SE Binary consume more than 700mb ram in my pc. so while debugging, PC is hanged. Is there any way to stop this.
Working on a laptop with only 2 GB of RAM is no fun, you should have at least 4 GB.
It's just advice from me.;)
 
Upvote 0

piyushvekariya025

Member
Licensed User
Longtime User
Number of libraries is not related.
You are probably using a library that depends on Firebase SDK which is quite large.

2GB is barely enough for development. Compilation will be slow. Why waste your time waiting for the compiler?

You can disable the optimized dexer. Search for UseOptimizedDexer
Thank you Erel. You are right. I use Firebase Analytic library.
As per your guideline, now my problem resolved.
 
Upvote 0
Top