What is Virtual RAM in Android? | Explained In-Depth! | Guiding Tech

Поделиться
HTML-код
  • Опубликовано: 23 июл 2024
  • Virtual RAM. Dynamic RAM Expansion. Extended RAM. Different names, but the idea is to give you more RAM to use. Or is it really? Let's find out what virtual RAM in Android really means!
    In today's video, we'll be taking a deep dive in Android's memory management, how it works, how it makes use of RAM, zRAM, and storage, and how it differs from the swap partition used in Linux. Also, is this Virtual RAM on Android a new feature, or is it something that was there before as well. Finally, is virtual RAM good for you as a user. Let's answer all those queries in this video.
    Flow of the video:
    0:00 Intro
    1:01 How Android manages its memory
    5:51 How Linux does memory management
    6:57 Virtual RAM in Android?
    7:48 Swap or zRAM?
    8:28 Why does Android not use swap by default
    10:45 Is Virtual RAM good or not?
    Also check out:
    Best Free Google Photos Alternatives That You Should Try!: • Best Free Google Photo...
    5 Best Wallpaper Apps for Android: • 5 Best Wallpaper Apps ... ​
    Top 5 Best WPS Office Alternatives: • Top 5 Best WPS Office ... ​
    Top 5 Unique and Best Note Taking Apps for Android: • Top 5 Unique and Best ... ​
    Top 5 Best Android Web Browsers in 2020: • Top 5 Best Android Web... ​
    Top 5 Best Unique Launchers for Android in 2020: • Top 5 Best Unique Laun... ​
    Top 5 Best Free Apps for Customizing your Android Phone in 2020: • Top 5 Best Free Apps f... ​
    Top 5 Best Parallel Space Alternatives for Android in 2020: • Top 5 Best Parallel Sp...
    _________________________________________________________________
    Guiding Tech (GT) Social Links:
    Facebook: / guidingtech
    Twitter: / guidingtech
    Instagram: / guidingtech
  • НаукаНаука

Комментарии • 157

  • @EfficientTrout
    @EfficientTrout 2 года назад +102

    Finally an Indian that actually talks in English.
    I hate it when youtuber put English title but speak in Hindi in videos. Farming views from US viewers

  • @aldrinseanpereira140
    @aldrinseanpereira140 3 года назад +38

    Wow! we barely get actual technical videos on tech these days (cuz views are less). But they are really informative!!

  • @aalennn1
    @aalennn1 3 года назад +54

    dude seriously man, you explained each part well , I came here cause I wanted to know about extended ram/virtual RAM but sat through the whole video. The explanation you gave for clean pages and dirty pages -I saw what you did ,The subtle visual presentation of the topic even before you started to explain about it -4:00 -4:20 BRAVO!!!

  • @tanishkmisra3712
    @tanishkmisra3712 3 года назад +35

    What a incredible video man...like we need more of these...seriously...🙌

  • @princehackey
    @princehackey 2 года назад +12

    Zram with a good compression algorithm compress data into the same ram.
    It create a ram disk in the ram to hold the compressed data for decompressing when needed. It does slow down phone when u use your internal storage as zswap. Ive allocated 4gb of my ram as zram to store the compressed data and it gave me better performance. It never swaps and compress data directly to internal your storage.

  • @ishanroy3668
    @ishanroy3668 3 года назад +7

    That was really techy but I understand now finally what's the thing. Love to Guiding Tech❤️🔥

  • @FM-fm2yq
    @FM-fm2yq 2 года назад +2

    Thank you, I was looking for a video like this. Well explained!! I understand more! xD

  • @Robbie_Kid
    @Robbie_Kid 2 года назад +1

    Great video! One of the few English speaking explanations of what rqm+ is on android. Thanks man!

  • @BLUEGLIMMER05
    @BLUEGLIMMER05 2 года назад +7

    this video has been uploaded for almost a year now. it's so detailed. and the guy speaks english very well 😊 kudos sir! thanks to this info of yours now I'll be turning my virtual ram off. 😊

  • @MrRoy-pj5pg
    @MrRoy-pj5pg 2 года назад +7

    Thank you for your great explanation... I came here just to know the advantage and disadvantage of it. This info really helpful 👍

  • @sebastianquinchia1840
    @sebastianquinchia1840 Год назад

    This was very helpful, thank you for all the great info.
    Also, great shirt, I love that album

  • @NitroCorn
    @NitroCorn 2 года назад +9

    Thank you for the very informative explanation of the Virtual Ram! I have never seen it before, and was a little confused when I seen the 'Ram Plus' in my Samsung s22+ settings.
    I appreciate the vid, cheers mate!
    Much love from Australia 🇦🇺

  • @robertwolfgan
    @robertwolfgan Год назад +1

    Thank you for this, you have explained this better than any of my teachers and friends. I dunno where you're from, but you definitely are an incredible teacher and I hope you keep doing this 🙌🏻❣️

  • @samernabeel5971
    @samernabeel5971 2 года назад +1

    I love this kind of technical videos we need more of this.

  • @jayhind6568
    @jayhind6568 3 года назад +116

    Custom roms users knows this from 2010 to 2012😂👏🏻truh

    • @sachinkhatri1077
      @sachinkhatri1077 2 года назад

      Right 😁😁 i m still using it

    • @icerink239
      @icerink239 2 года назад +6

      yeah but internal storage back then wasn't as fast as lpddr4 ram. Now, we are approaching that speed and thus it's being officially implemented

    • @sachinkhatri1077
      @sachinkhatri1077 2 года назад +11

      @Tamash Jyoti Neog who told u root can kill phone ???

    • @dhruv9849
      @dhruv9849 2 года назад

      I had only one phone which I bricked and now I'm not trying it again

    • @Qim2609
      @Qim2609 2 года назад +2

      @Tamash Jyoti Neog if it kill your phone then revive it

  • @akashyoutubification
    @akashyoutubification 3 года назад +2

    Super Video. Much appreciated. ❤️

  • @01txtech
    @01txtech 2 года назад

    Thanks for the info. Clicked like and subscribed 🤠

  • @stockportiniesta
    @stockportiniesta 2 года назад +2

    This is what I call quality content. Salutation to you sir.

  • @zenchi420
    @zenchi420 2 года назад

    Youve helped me understand a great deal, what a genius!

  • @realjames1
    @realjames1 Год назад

    super indepth, thanks for your great work!

  • @ismailnajeebm7729
    @ismailnajeebm7729 3 года назад +2

    Perfectly Explained 🙌🙌🔥

  • @Nayr7928
    @Nayr7928 2 года назад +5

    Very nice explanation. I turned it off on my phone as I'm going to use this for 2-4 more years. I monthly change downloaded videos (30GB+) on my phone so I don't want another thing decreasing my storage's life span.

  • @LGF18
    @LGF18 Год назад

    Great breakdown. Answered my question well.

  • @harshgoyal855
    @harshgoyal855 2 года назад +3

    Great video bro! Really helpful. By how much your device's life is affected?

  • @najmimarzuki
    @najmimarzuki 2 года назад

    Great explanation dude! Thank you

  • @varungoel7105
    @varungoel7105 2 года назад

    Thank you, really appreciate your valuable inputs

  • @insanelanegaming5167
    @insanelanegaming5167 Год назад +1

    So does me changing my virtual from 2 gb to 4gb do anything for me? I often play games that require a lot of resources.

  • @rajveersinh
    @rajveersinh 3 года назад +2

    Superb... Please Make More video like This..

  • @rmp.attackerfake9446
    @rmp.attackerfake9446 2 года назад

    Very clear and interesting explanation. Thank you.

  • @mansura.usmani7286
    @mansura.usmani7286 3 года назад +4

    Great explanation!

  • @soulgameo2239
    @soulgameo2239 3 года назад +1

    U really deserve more......much more🔥🔥

  • @sakada3291
    @sakada3291 2 года назад +1

    oh dang there is no way to turn off RAM plus on samsung only can select 2/4/6/8 gb
    if it often used how much it will affect the device?

  • @tanmaey-tanmaeyonthestrings
    @tanmaey-tanmaeyonthestrings 3 года назад +5

    What a great research and superb explanation..keep it up Varun 👍

  • @federicogori9888
    @federicogori9888 2 года назад

    Your english is so good!
    Nice video. Thank you ❤

  • @MdFaisal-wb5wq
    @MdFaisal-wb5wq 3 года назад +6

    Briefly explained ❤️

  • @FC-tq1yj
    @FC-tq1yj 2 года назад

    Thank you. That was helpful.

  • @dixitpatel017
    @dixitpatel017 2 года назад +11

    For virtual ram or pagfiles there is also one misconception. You have to set virtual ram or page files according to physical ram in your phone or PC. If you have 6 GB ram in your phone than you have to set ram plus or virtual ram or page files 6×1.5=9 so 9 GB you have to set. Whatever physical ram your have on phone or PC, you have to set virtual ram or pagefiles multiply by 1.5, in ram plus you can get only 8 GB which kind of fishy I find as lot of users has atleast 6GB version of android phones.

    • @unsavedprogress1419
      @unsavedprogress1419 Год назад +4

      You have zero clue what you're talking about.

    • @reyc7xxx
      @reyc7xxx Год назад +1

      @@unsavedprogress1419 so true. And this can cause many unspected issue. Only dev knows how this works. I try tweaking and study about paging file until i realize that this is a mess.

  • @sumyaranjanmohanty9610
    @sumyaranjanmohanty9610 2 года назад +1

    Thanks to clear the v.ram concept.👍

  • @Moon_fx9
    @Moon_fx9 Год назад

    Wow,that was a clear answer bro,thanks

  • @___7y6
    @___7y6 2 года назад

    Really liked you explanation 👍👍

  • @Thabiso_Yende
    @Thabiso_Yende 2 года назад

    So if i buy a fast memory card can i turn it on (virtual ram)?

  • @gurnealsingh2012
    @gurnealsingh2012 Год назад

    Great video thanks for the advice

  • @DoodleDan
    @DoodleDan 11 месяцев назад +1

    Thanks, I'm turning it down from 5gb to 2gb.. Or should I completely turn it off?

  • @1stdanclaire
    @1stdanclaire 2 года назад +1

    Thanks much appreciated 🙏 👍

  • @razer0072073
    @razer0072073 2 года назад +1

    My A52s 5G just got the update it says I have 4g of virtual ram I originally have 6gb

  • @midhunogirala6282
    @midhunogirala6282 2 года назад

    Great explanation 👍🏼

  • @taijenseng
    @taijenseng 2 года назад

    Nice explanation !

  • @jaimejaimes7746
    @jaimejaimes7746 2 года назад

    Hola buenas Tardes. ¿ Zram en Android, se puede instalar sin ser ROOT? . Consume mucha batería? . Gracias y felicitaciones

  • @MKAPLINUX
    @MKAPLINUX 2 года назад

    Impressive presentation, Sir.

  • @ruxabiker3451
    @ruxabiker3451 Год назад

    Should I turn off extension for my Poco x3

  • @momogi618
    @momogi618 Год назад

    basically if you dont need it just dont use it but if you gaming and it crash or lagging i need to active it?

  • @Dharmic_developer
    @Dharmic_developer 2 года назад

    Great video 😮

  • @judahjaquith6854
    @judahjaquith6854 2 года назад +1

    How much will it effect the lifespan?

  • @TheJuzaireed
    @TheJuzaireed 3 года назад +1

    bro u deserve millions subscribers

  • @kimcartoon69
    @kimcartoon69 4 месяца назад

    So i was looking for something to boost an old tablet and found usefulness for the new one

  • @21_my_pobedim10
    @21_my_pobedim10 7 месяцев назад

    Thanks a lot! You rule!!

  • @DarkOminigiri
    @DarkOminigiri 2 года назад

    Thanks i understand now

  • @tariquehaniff
    @tariquehaniff Год назад

    Used to talk about this in primary school 25 years ago

  • @petahoee8281
    @petahoee8281 2 года назад

    Thanks for the info greatly helped! I game on my phone and turned it on thinking i should but now I can turn it back off....

  • @MrImasta
    @MrImasta Год назад

    We must lower or raise the ram for big games that needs fps? Nice vid

  • @SherwinIRL
    @SherwinIRL 2 года назад +1

    Thank you for teaching this❤️
    I'm going to turn off virtual RAM extension on my realme gt 5g now 🙂

    • @Sive.dot1
      @Sive.dot1 Год назад +1

      Why?

    • @SherwinIRL
      @SherwinIRL Год назад

      @@Sive.dot1 For live streaming & performance reasons. Real RAM in my opinion is better than virtual swap RAM

  • @satoshie2074
    @satoshie2074 3 года назад +5

    Does zram affect the cpu perf when gaming? I have updated my hot 10s to latest May patch(v410), and I noticed a sudden rise in heat, a minimal fps drop in gaming but not that noticeable, only on long term gaming, (prolly after 30mins)

    • @kuroneko-_5570
      @kuroneko-_5570 2 года назад +1

      Lol zram has nothing to do with cpu performance. If your cpu sucks or your system sucks then it SUCKS

    • @impeace1012
      @impeace1012 2 года назад +1

      Yeah encoding and decoding for zram will use cpu performance. Hence it will make your phone heated and battery will drop faster

    • @TheNpcNoob
      @TheNpcNoob 2 года назад

      @@kuroneko-_5570 yes it does😂

    • @TheNpcNoob
      @TheNpcNoob 2 года назад

      @@impeace1012 not exactly, the way Zram is implemented on android is different

  • @venkat_007
    @venkat_007 2 года назад

    Great info

  • @sn0llyg0ster727
    @sn0llyg0ster727 3 года назад +10

    We use Virtual Ram on Windows too in form of Pagefiles

    • @GuidingTechEnglish
      @GuidingTechEnglish  3 года назад +8

      Yep, that's true. I didn't mention it since Pagefiles are basically swapfiles which is kinda different from swap partitions. I can do a detailed video talking about the differences between swapfiles and swap partition if folks are interested! ✌✌

    • @vaibhavkrkm
      @vaibhavkrkm 3 года назад

      @@GuidingTechEnglish Yes please do it, also I wanna know wheather creating virtual RAM (in pagefiles) will affect the life of harddrive in Windows like it does in Android, I think it will right.. at least on some level..?

  • @xeyronline3348
    @xeyronline3348 3 года назад +3

    May confusions brought me here. About virtual ram from a newly released smart phone brand.
    Thank you Sir, this is very informative.

  • @ayushchourasia9294
    @ayushchourasia9294 2 года назад

    This is fantastic Varun, you have put it down so well. 👏

  • @Opacity5
    @Opacity5 2 года назад +1

    arctic monkey fan here. awesome tee broski

  • @preci0ux161
    @preci0ux161 2 года назад

    Thank you brother

  • @Rampant_Mongoose
    @Rampant_Mongoose Год назад

    I knew it would take an Indian guy to explain all this to me ,thanks brother 🎉

  • @krisserrao4575
    @krisserrao4575 3 года назад +4

    Bro what is ramless screen.... because when I contacted realme support team they told that realme 7 pro has a ramless screen so they cannot update the customization of Always on Display.

    • @GuidingTechEnglish
      @GuidingTechEnglish  3 года назад

      Hi. Typically modern displays have their own flash memory (referred to RAM for the panel) which it uses to access data. This data is basically the pixels that need to be displayed, and much more. Traditional displays do not have a RAM of their own, and are thus called RAM-less displays. The issue here is that since the panel used on the Realme 7 Pro is RAM-less, it always needs to access the RAM of the phone. This brings the lock screen into an active state, which is why AOD can't function properly.
      Realme India has promised an update on this with some software patches, so let's see if the company can figure out a way around this.
      Hope that helps! Cheers! :)

    • @umutkayabal7087
      @umutkayabal7087 3 года назад

      @@GuidingTechEnglish hi i learned that i can use pagefile on Android without root
      my pot lx 1 have 3gb physicall memory and 3 gb virtual i can use more apps same time and more fps in games

    • @rave1158
      @rave1158 Год назад

      @@umutkayabal7087 how, teach me pls

  • @venky3867
    @venky3867 3 года назад +4

    My phone has 4gb ram but the ram is always full and the UI is always laggy.
    So adding Virtual Ram will help?

    • @anonymouspokemon4623
      @anonymouspokemon4623 2 года назад +1

      Depends on your work. If you just use the virtual RAM for browser (storing tabs), it will help. If you use it for big games, it won't help, because the speed of the virtual RAM is as fast as the storage's speed, which is significantly slower than real RAM.

  • @shaktishukla4287
    @shaktishukla4287 3 года назад

    you just make it cristle clear

  • @jaswanthroyal3268
    @jaswanthroyal3268 3 года назад

    Full review of iqoo 7 bro before may 1st please

  • @bigflaggaming1057
    @bigflaggaming1057 2 года назад

    Bahi yes ya no ma batto ki increasing virtual ram is good or bad on android

  • @NESSTOR94
    @NESSTOR94 2 года назад

    Gracias. 👏

  • @infamousX
    @infamousX Год назад +1

    Does turning off memory extension (virtual ram) increase battery 🔋 life?

    • @gamerandtipstv713
      @gamerandtipstv713 11 месяцев назад

      Possible because it doesn't need to access the internal storage all the time that cost battery reloading the app allthe time.

  • @mohammedejazulhaque8853
    @mohammedejazulhaque8853 2 года назад

    Thank you

  • @justw4lkbesideme
    @justw4lkbesideme 2 года назад

    I hv 4/128 android, so virtual ram is useful for me? Ciz it can extend to 6 gb ram

    • @zep0th370
      @zep0th370 4 месяца назад

      On 4gb ram it will definitely help, anything over 4gb, you might want to consider turning it off.

  • @akarihanao3458
    @akarihanao3458 2 года назад

    Clearly Explaned

  • @limo9402
    @limo9402 2 года назад

    Yeah but it's always on i can't turn it off on Android 12

  • @DENVEROUTDOORMAN
    @DENVEROUTDOORMAN 2 года назад

    Is there a way to turn this off???? I areadu have 12gb ram on my 256gb S22 Ultra

  • @TimeToGG
    @TimeToGG 2 года назад

    tldr, on or off pls ?

  • @VEKTOR_87
    @VEKTOR_87 2 года назад +2

    Really good video , for me I turn of zram bcuz I have 8 gb of ram ( in my opinion any phone above 6gb ram which is using a custom rom doesn't need zram )

  • @mauiantonio3770
    @mauiantonio3770 2 года назад

    Thankss

  • @epicsongsfactory3338
    @epicsongsfactory3338 2 года назад +2

    Well, i think we shouldn't use our devices internal storage as ram, if we really want to do that, we better purchase a powerful sdcard so when its lifespan ends, we can throw it and purchase a new one, thats a right thing according to me, we shouldn't end our phones internal storage lifespan too early😉

  • @Oxyrhina
    @Oxyrhina 2 года назад

    bruuuh nice video

  • @AiceQream
    @AiceQream 2 года назад +1

    finally I can download more ram

  • @Umat165
    @Umat165 2 года назад

    👍🔥🔥👍

  • @cryticahad1026
    @cryticahad1026 3 года назад +5

    Virtual Ram is basically a gimmick
    Today we get 12 gb which is more than sufficient

    • @GuidingTechEnglish
      @GuidingTechEnglish  3 года назад +17

      In a way, yes. Does it give you more RAM? No. But does it give you more FREE RAM when you need it? Yes.

  • @starkiller7278
    @starkiller7278 6 месяцев назад

    Companies are not very honest about this feature. Android knows how to manage memory, and depending on which phone you use, it should be optimized already. Ram extension is not all that grand, especially with flash memory's volatility.

  • @MASTERATCOD4
    @MASTERATCOD4 3 года назад

    Thanks I'll just keep it turned off. Have 12gb ram already. Had the option to add 7gb on oppo find X2. Great advice good explanation on how ram work's etc... 👍

  • @dragonlex4
    @dragonlex4 Год назад

    Thank you for explaining why the extension ram was killing my phone.
    I had problems with my phone, people told me it was because i turned on the extension (i had no full on idea how ram works) i turned it off and it's well now.
    I looked you up to figure out why it was happening. From your explanation i understood that i was technically speeding up my phone's aging.

  • @Jon-Sen
    @Jon-Sen 3 года назад +3

    My question is will it lessen the lifespan of the ufs storage?

  • @MoShiesty_
    @MoShiesty_ Год назад +1

    for thumbnail you should have put ram or scam

  • @UmeshSharma-ff7yg
    @UmeshSharma-ff7yg Год назад

    👍

  • @anfoneleoda4165
    @anfoneleoda4165 2 года назад

    I already deduced its reality just now but I want to listen to other people's take on this one.

  • @mybackup4016
    @mybackup4016 Год назад +2

    10:45

  • @atmaramwizard8554
    @atmaramwizard8554 2 года назад +1

    LINUX ALSO USES PAGING

  • @ashishtiwari4722
    @ashishtiwari4722 Год назад

    Resistor and cache memory more faster than Ram

  • @GeoTheBlaxican
    @GeoTheBlaxican Год назад

    Was getting ready to increase my virtual ram (RAM+) on my Samsung Galaxy Z Fold 4 from the default 4 GB to 6 GB, but I watched this video and I'll be leaving it at the default setting.