P piyushvekariya025 Member Licensed User Longtime User May 16, 2020 #1 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.
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 May 17, 2020 #2 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
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
D Deleted member 103 Guest May 17, 2020 #3 piyushvekariya025 said: 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. Click to expand... 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 said: 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. Click to expand... 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.
P piyushvekariya025 Member Licensed User Longtime User May 17, 2020 #4 Erel said: 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 Click to expand... Thank you Erel. You are right. I use Firebase Analytic library. As per your guideline, now my problem resolved. Upvote 0
Erel said: 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 Click to expand... Thank you Erel. You are right. I use Firebase Analytic library. As per your guideline, now my problem resolved.