Ram usage problem? - Xperia Z1 Q&A, Help & Troubleshooting

So I was browsing 9Gag (which shouldn't have taken much ram). When I exited the app, I keep seeing that the Xperia Launcher being blank and the icons slowly appearing (as if it has restarted). So I decided to check my ram usage (check image). Any ideas how I can prevent or fix this? It also happens when I use Skype for about an hour.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my C6903 using Tapatalk

This is related to JB 4.3 bug, the bug is system_server will spawn another pid, which make device getting slower because lack of memory. If your device isn't rooted you can simply restart your phone. If your device is rooted, simply run this command via terminal emulator (root access is needed)
Code:
for pids in $(busybox ps | grep system_server | grep Thread | busybox awk '{print $1}' | xargs); do kill -9 $pids; echo 3 > /proc/sys/vm/drop_caches; done
Sent from my C6903 using Tapatalk

I input the command in terminal and entered it. Does it suppose to have a reply or not?
Sent from my C6903 using Tapatalk

same problem here,how to use terminal emulator
Hey i also have the same problem.
Hw to use terminal emulator? Im new in this pls help me, how do i put the line in the terminal emulator? Copy whole line into the terminal emulator?

carllegendx said:
Hey i also have the same problem.
Hw to use terminal emulator? Im new in this pls help me, how do i put the line in the terminal emulator? Copy whole line into the terminal emulator?
Click to expand...
Click to collapse
Yup
Sent from my C6903 using Tapatalk

i ran the code but its like nothing happends ?
i paste the code and this came back , is it supposed to be like this ? no reply or anything ?

carllegendx said:
i paste the code and this came back , is it supposed to be like this ? no reply or anything ?View attachment 2625959
Click to expand...
Click to collapse
Yes no reply... It should just kill some zombie processes or clones... To check if the command had some effect go check your RAM again in settings->app

Riyal said:
Yes no reply... It should just kill some zombie processes or clones... To check if the command had some effect go check your RAM again in settings->app
Click to expand...
Click to collapse
seems to be working now , 5hours now and ram seems to be okay , thanks everyone

nah its not working , still same problem ... but not after like 5 hours , after a longer use......

carllegendx said:
nah its not working , still same problem ... but not after like 5 hours , after a longer use......
Click to expand...
Click to collapse
It just kills the process but not fix the bug... You need to execute the script everytime you have low RAM. That's how it is suppose to be used.

carllegendx said:
nah its not working , still same problem ... but not after like 5 hours , after a longer use......
Click to expand...
Click to collapse
It's bug from JB. It's about ROM itself. I think there's no solution to avoid this memory leak, unless we get an update from SONY. Anyway, I'll try to make automatic script which can control this bug by kill zombie process as soon as they spawned.

omegahanggara said:
It's bug from JB. It's about ROM itself. I think there's no solution to avoid this memory leak, unless we get an update from SONY. Anyway, I'll try to make automatic script which can control this bug by kill zombie process as soon as they spawned.
Click to expand...
Click to collapse
oh now i get it, you have to run the script everytime oohh!! thanks everyone .
AND YES PLS , if u can make a automatic script for it , it would be awasome , so i dont have to run it everytime

Related

[APP] ConnectBot for Honeycomb

Posted this on my Twitter (@ruqqq) yesterday. Not sure how many people use ConnectBot (like I do). But anyway, I took a whole day to learn Fragment API and decided to use ConnectBot as my "test subject". Below is the result:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
[B]Features:[/B]
- Standard ConnectBot features
- ActionBar UI
- Fragments UI
[B]Known bug:[/B]
- While a console is open, if you click the EditText on bottom right, the console will lose focus. When that happens, click the list item of the current console to regain focus.
YOU NEED TO UNINSTALL THE CURRENT CONNECTBOT ON YOUR DEVICE BEFORE INSTALLING THIS VERSION BECAUSE OF DIFFERENT SIGNATURES
GitHub Link: https://github.com/ruqqq/connectbot
APK Link: REUPLOADED
I won't continue developing this and I hope somebody out there would improve the code. I've also mention ConnectBot lead developer in my tweet in hope he see this link and would merge my changes.
I get a force close when I 'sudo tail'
sudo tail?
EDIT: Reuploaded with major bugfix thanks to @mattyboy247 report
Attempting to 'sudo tail -f /var/log/apache2/error.log'
FC's at 'sudo tail'
you meant you ran the command on your server? anyway.. try the reuploaded apk.
With the first APK uploaded, after a connection to the server, I would attempt to view its apache2 error log. imediately after typing 'sudo tail ' it would FC.
The re uploaded one seems to be working now. Thanks for this.
I'll fork your Git for future reference to the code, that way I am not depending on you to see why I'm having problems, and can attempt to correct them
sure. please do. i'm only porting the UI for my use and for learning fragment api. i don't intend to further develop or maintain this.
Love the app,
but is there anyway to disable volume control for the control the text size?
is there a way to hide the host list?
What does this do if I may ask?
much apreaciated man, it works wonderfull on my gtab 10.1v.
gqstatus0685 said:
What does this do if I may ask?
Click to expand...
Click to collapse
yeah what does it do? Oo
same thing as connectbot, SSH terminal connections but with a modified UI for honeycomb tablets.
Did you send a pull request on github? Best way to get him to merge things. I know for a fact he watches those.
I have a fork with modification to use Search key on a Transformer for ESC. So I'll learn how to use the pull request function with you.
Great app idea! I love it. One problem though - didn't install for me. Running rooted stock HC 3.1 on Asus Transformer. I do have the original Connectbot installed, would that have anything to do with it?
TimD123 said:
Great app idea! I love it. One problem though - didn't install for me. Running rooted stock HC 3.1 on Asus Transformer. I do have the original Connectbot installed, would that have anything to do with it?
Click to expand...
Click to collapse
Yes, in the OP he says in big red letters:
YOU NEED TO UNINSTALL THE CURRENT CONNECTBOT ON YOUR DEVICE BEFORE INSTALLING THIS VERSION BECAUSE OF DIFFERENT SIGNATURES
Click to expand...
Click to collapse
ViViDboarder said:
Yes, in the OP he says in big red letters:
Click to expand...
Click to collapse
D'OH! my bad - thanks for the heads up.
hey arctu, thanks for this, i use connectbot almost every day!
Hello there,
can anybody upload apk somewhere and make a mirror? OP's link doesn't work for me ATM.
TIA
Hi arctu
I just wonder why you used the base ConnectBot.
I prefer the already modified version, Irssi ConnectBot, which sports a bunch of features such as the long touch menu, symbols, device and language specific fixes, etc.
I used to use ConnectBot for local terminal emulating, but then I discovered that one modified for irssi and now I can't do a lot of things on my X10i without it.
I hope you will start to modify Irssi ConnectBot as well.

[Q] problem "there is not enough storage space to complete this action"

I'm on stock rooted jellybean and I don't remember what I did "I'm flashing addons all the time" !
not I get this message everytime I boot my phone ..
"there is not enough storage space to complete this action"
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I checked space on task manager and I found this
system storage 671mb/1.97gb
usb storage 6.95gb/11.07gb
sd card 11.77gb/14.83gb
any help here ?
you may need to clear some system apps.. use TB and go to the overview tab and check the space in System ROM partition
nokiamodeln91 said:
you may need to clear some system apps.. use TB and go to the overview tab and check the space in System ROM partition
Click to expand...
Click to collapse
thank you for your rapid response ..
here is a screenshot from TB .. I think I have enough space
yeah you do.. try to unmount the external SD from settings and try to flash the mod you were trying ...
nokiamodeln91 said:
yeah you do.. try to unmount the external SD from settings and try to flash the mod you were trying ...
Click to expand...
Click to collapse
I got this message everytime I boot my phone not when trying to flash zips
then there could be some app that display this message when you boot the phone,,
thank you sir for your help ..
I searched about this problem on google but nobody found the solution too ..
I think I have to reflash the rom !
Seems like memory leak. Google it.
SENT BY POST...
howard bamber said:
Seems like memory leak. Google it.
SENT BY POST...
Click to expand...
Click to collapse
I've already googled .. not solution !
and the mobile is fast no lag no freezes .. everything is OK except for this annoying msg every start up ..
Ok wipe your dalvick cache and reboot.
Use an app called "clean master"too.
I had this problem. I've tagged this thread so put what happened when you do the above.
Good luck:thumbup:
SENT BY POST...
im using an app called STORAGE ANALYSER
with root u get the best way to see whats taking your phones space
its like TREE SIZE for PC
fixed
EDIT 1 : I thought it came from changing touch sounds .. and NO .. this is not the problem !
EDIT 2 : I thought It's from whatsapp+ .. and NO ,, the problem still exists ..
It now comes randomly not every startup
hassan_eldhraawy said:
EDIT 1 : I thought it came from changing touch sounds .. and NO .. this is not the problem !
EDIT 2 : I thought It's from whatsapp+ .. and NO ,, the problem still exists ..
It now comes randomly not every startup
Click to expand...
Click to collapse
How did you fixed it?
JohnSmith743 said:
How did you fixed it?
Click to expand...
Click to collapse
flashed stock rom :/
Dumpstate issue
I got this crap in my N7000
in my case, solved by:
*#9900#
Delete dumpstate/logcat, confirm, go down and press Exit.
My problem was solved.
Sometimes, once per month, I must do it again...
Well I fixed it with another way. I simply went at the storage options and I changed it to install all the new apps at the sd card. After that it only showed it one more time and then it was gone.

[DEV][DASH-M]Latest..Speed Up Ur Phone ..Die Hard Batterry..AmaZing Preformance

Hello People
At Begining I have to say That
"Dash-Mod has a great part Which Based on FREEX by zeeplinrox Really thanks zeep for Your free x That says "Used Ram Isnt bad and might be better Than Unused ' i confirm'
And ..
Iam glad to present you dash mod rc2 fixing bugs with 4.4.x Introducing:
-Dash-M-RC2: The main file which had a great part to kill lag,and gives u smooth , better preformance ,a Die Hard Battery (Stayed With my Tassve for 6 Hours of hard working With 3G On ,used bluetooth,played games and more(it deserves a try)),improves sd speed ,screen sinsevity ..scorling , img quality ,network preformance and more....
-DM_BuildPropTweeks:adds a set of build.prop usefull tweeks that Reduces boot time alot and have a part in scorling preformance, img quality and more + Ihave added a feauture to that tool which Backs up ur current build.prop file in folder called "Dash" in your sd root so if you got proplems after flashing build.prop tweeks
U can replace it with the Backed up build.prop via aroma file manager/adb/zip..etc.
-DM_CacheTweek: Improves cache preformance and helpfull for those who have proplems in cache as it Joins Dalvik.Cache into Cache(if cache is enough to hold it).
-DM_undocache: From its name it undo what CacheTweek has done For Who Had Proplems after apllying it like FCs..
-Uninstaler_RC2: Removes Every Thing Done By Dash-M-RC2
Lets Talk More About "Dash-M-RC2:
That Incudes :-
-Android Treminal ( will be used latter in instructions)
-Dash Binaris
+Init.d Tweeks Including
-12Dash_zipaligndata: Zipalligns data every 24 hrs -11Dash_zipalign:zipallign system every 24 hrs
-10Dash_touchscreen:improves touch sensevity
-09Dash_sqlite_optimize: _optimizes Apps Databases
-08Dash_sd: Configures sd speed and sets read ahed to 2048
-07Dash_netwroktweeks: Some improvements to networks
-06Dash_mainfree: Configures your device for Hardest multitasking
-05Dash_cleaner:Cleanes Unnessecary ..tmp..thumb etc(safe wont touch sd)
-04Dash_cache: Included In DM_CacheTweeks That is meant to Move DalvikCache into Cache
-03Dash_boot:_Does some cleanes and improvements during boot -02Dash_batteryceleb:Celebrates battery -01Dash_battery : Die Hard Battery Mod
-Syctel.tweeks: A Part Of DieHard Battery And Nwtwork Improvements
Click to expand...
Click to collapse
+Entropy Bins:
To Activate rngd/entropy go to triminal and write
Code:
su
Dash
Dissactivate
Code:
su
Undash
Check if Dash Is Running Correctly
Code:
su
Dash-M
Click to expand...
Click to collapse
Note For KK 4.4.x users it depends on luck For Cache and build.prop tweeks works on some phones but not on others .
Instructions
-Flash Dash-M-RC2 (Must)
-Flash DM_BuildPropTweeks (Optinal)
-Flash DM_CacheTweek (Optinal)
Terms Of Sharing
Wanna share??
-U can share it but dont give download links Just Link to That Thread And They Come To Download it from here
Wanna Include In Your Rom?
-u can ,but give me a credit and Link to That Thread
DownloaDS-Official Thread
Screen shots of Hard Tasking and harder Task manager(stock) on a low specification Phone i wont be Lier if i told it never laged
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Not working. Phone is stuck at bootlogo. No other scripts were installed. Installed it on the rom KitKatUI v2.0 by SlimShaddy
Put original build.prop in its place
myaservip said:
Put original build.prop in its place
Click to expand...
Click to collapse
which place, you mean inside the Dash-M_RC2.zip?
Nup
Folder in sd
Called
Dash
myaservip said:
Nup
Folder in sd
Called
Dash
Click to expand...
Click to collapse
I have put the original build.prop in system folder to Dash folder in sd card, then flashed Dash-M_RC2.zip but no success. there are no other scripts in int.d folder which would conflict with it. I removed them. I tried flashing it on stock rom before and it booted successfully. But when about trying on this rom i got this problem.
Dont clear init.d
Dash cleares its way
myaservip said:
Dont clear init.d
Dash cleares its way
Click to expand...
Click to collapse
Tried the same way before and same problem.
Logcat!!
having same problem.... phone stuck at bootsplash(not even bootanimation).... tried helium as well as diamond edition...
Dont try on 4.4.3+
myaservip said:
Dont try on 4.4.3+
Click to expand...
Click to collapse
i tried on ics as well as gb rom.... no luck..
what could be the problem?
bharath_58 said:
i tried on ics as well as gb rom.... no luck..
what could be the problem?
Click to expand...
Click to collapse
logcat
How can i provide a logcat?
Its not booting...
Sent from my GT-S5570 using Tapatalk 2
When u hear usb connect sound "on pc" your phone is ready for Adb
myaservip said:
When u hear usb connect sound "on pc" your phone is ready for Adb
Click to expand...
Click to collapse
I dont know how to use adb... sorry...
Sent from my GT-S5570 using Tapatalk 2

[Q] I can't find /data/logs on CM10.1

I'm looking for /data/logs for dumpstate/logs purpose. I'm currently on cm10.1.6 modded by mardon. But there is no such file in the directory. i tried google search and they say to get rid off "Storage Space Running Out" notification is by dial this code *#9900# but nothings happen. Is there a way to delete dumpstate using Terminal Emulator? And lastly, is it safe to delete dumpstate files/logs? Will there be a bug/error on data connection or radio stuff?
P.S. Sorry for a lot of questions i have. I'll appreciate your help.
daehyunjae said:
I'm looking for /data/logs for dumpstate/logs purpose. I'm currently on cm10.1.6 modded by mardon. But there is no such file in the directory. i tried google search and they say to get rid off "Storage Space Running Out" notification is by dial this code *#9900# but nothings happen. Is there a way to delete dumpstate using Terminal Emulator? And lastly, is it safe to delete dumpstate files/logs? Will there be a bug/error on data connection or radio stuff?
P.S. Sorry for a lot of questions i have. I'll appreciate your help.
Click to expand...
Click to collapse
Its actually in /data/log. Yes, it is safe to delete dumpstate logs. You can delete the dumpstate log from Terminal Emulator using the following commands,
Code:
su
cd /data/log
rm dumpstate*
exit
Do post the result. Hope I Helped
mahithm said:
Its actually in /data/log. Yes, it is safe to delete dumpstate logs. You can delete the dumpstate log from Terminal Emulator using the following commands,
Code:
su
cd /data/log
rm dumpstate*
exit
Do post the result. Hope I Helped
Click to expand...
Click to collapse
See this first command.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
daehyunjae said:
See this first command.
Click to expand...
Click to collapse
Can you show me the contents of /data? Use the following command,
Code:
su
cd /data
ls
Do post the result.
mahithm said:
Can you show me the contents of /data? Use the following command,
Code:
su
cd /data
ls
Do post the result.
Click to expand...
Click to collapse
Here's the result. maybe link2sd related?
daehyunjae said:
Here's the result. maybe link2sd related?
Click to expand...
Click to collapse
Its not a link2sd problem that I can guarantee. What's odd is CM 10.1 doesn't have a log folder in /data. What this means is no dumpstate logs on your device.
mahithm said:
Its not a link2sd problem that I can guarantee. What's odd is CM 10.1 doesn't have a log folder in /data. What this means is no dumpstate logs on your device.
Click to expand...
Click to collapse
weird and I'm curious where the error logs file goes? (fc's,wait,report,call logs) anyway thanks for helping.
daehyunjae said:
weird and I'm curious where the error logs file goes? (fc's,wait,report,call logs) anyway thanks for helping.
Click to expand...
Click to collapse
No problem. You should better ask about this in the Developer's thread
thanks! i will.
daehyunjae said:
thanks! i will.
Click to expand...
Click to collapse
@Mardon please help @daehyunjae. Thanks

Hi install to android studio error please help me

emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX kernel module is not installed!
fonemi said:
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX kernel module is not installed!
Click to expand...
Click to collapse
Check in SDK manager, the last one, check the box and download.
Sent from here to there
I had the same issue.
You need to enable virtualization in the BIOS.
Just checked the virtualizations check boxes, and this issue will be resolved.
Make sure you have installed HAXM installer on your SDK Manager.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
.
Help me
fonemi said:
Help me
Click to expand...
Click to collapse
Looks like your PC doesn't support HAXM. You need to try other from that(×86 emulator won't work on your PC). Try ARMv7 or google APIs system image for your AVD.
Sent from here to there
I thing not support, what should ı do
fonemi said:
I thing not support, what should ı do
Click to expand...
Click to collapse
Read this post
Naimlaaa said:
Looks like your PC doesn't support HAXM. You need to try other from that(×86 emulator won't work on your PC).
Sent from here to there
Click to expand...
Click to collapse
Good luck.
Edito you have another account in XDA? Can we make more than 1 account here?
Sent from here to there
re: install issue
I had the same problem, turns out I didn't install the option from the SDK manager.
Hope it helps.
Why not supported vt , how these problems are solved on my computers ? Please
fonemi said:
Why not supported vt , how these problems are solved on my computers ? Please
Click to expand...
Click to collapse
AFAIK, your hardware is not compatible to do so, not sure which one but either one of this need to be upgrade, Your CPU/GPU/motherboard. But I think it's CPU, well of course if only it is upgradable. But for now, better try other than x86 emulator.
Let's hope if someone have a better solution to make it possible will jump in your post.
Sent from here to there
After you download SDK and make sure you run the setup located in: {SDK_FOLDER}\extras\inte\Hardware_Accelerated_Execution_Manager\intelhaxm.exe
Make sure in Android Studio, the command "intelhaxm.exe" has been changed to "intelhaxm-android.exe". And if you get the error "VT not supported" during the installation disable Hyper-V on windows features. You can execute this command dism.exe /Online /Disable-Feature:Microsoft-Hyper-V. You will also need "Virtualization Technology" to be enabled on your BIOS.
lisaquach said:
After you download SDK and make sure you run the setup located in: {SDK_FOLDER}\extras\inte\Hardware_Accelerated_Execution_Manager\intelhaxm.exe
Make sure in Android Studio, the command "intelhaxm.exe" has been changed to "intelhaxm-android.exe". And if you get the error "VT not supported" during the installation disable Hyper-V on windows features. You can execute this command dism.exe /Online /Disable-Feature:Microsoft-Hyper-V. You will also need "Virtualization Technology" to be enabled on your BIOS.
Click to expand...
Click to collapse
"I have not tried them all"
fonemi said:
"I have not tried them all"
Click to expand...
Click to collapse
You should try it, and follow lisaquach every single word, as she know it well , I believe. Actually I'm going to give it ago to my old laptop. As I've been told x86 emulator is less buggy/most stable then others.
Sent from here to there

Categories

Resources