|
I recently posted about my i7, 8GB RAM laptop running out of RAM while running Win10 and Android Studio and Emulator.
Someone posted back and said I should try out Ubuntu (via CD or flash drive).
Amazing
I have a 16GB USB flash drive so I set it up and booted up.
It only takes a few minutes to get it set up and running. It couldn't be simpler.
I was really impressed.
I was absolutely amazed at how fast it starts up and runs. Even FireFox seemed faster running from that flash drive. Everything was just so fast.
Android Studio
I downloaded AS and got it installed (even with my limited knowledge of Linux).
Out of Space
However, as it was installing and adding the Android Emulator it said I was out of space.
I figured, ok, well it's only 16GB and maybe it just doesn't all fit. I mean it's an entire OS running from the stick.
64 GB Flash Drive
I had another 64GB Flash drive so I set up Ubuntu trial on that one and tried again.
However, again, this time it said that I was out of space.
I'm assuming the trial does something odd with the space or something? Does anyone happen to know?
Also, I'm planning on using and old laptop HDD that I can plug into a "toaster" and try booting from USB from that drive and see how it will work. I 'm wondering if that will work.
I don't have much space left on my laptop Win10 drive (SSD) so I'm not sure I can create another partition that will be large enough for Ubuntu.
Overall Experience
The overall experience of Ubuntu was really great however. Can't believe how fast it boots and runs from the flash drive. I'm assuming that performance would only be better from direct SSD and that would crush comparisons to Win10.
|
|
|
|
|
You can get 500gb ssd's from Amazon for about $50.
You can't possibly run out of space with one of those.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
#realJSOP wrote: You can't possibly run out of space with one of those.
Hahahahahahaha...
Quote: 640K of memory should be enough for anybody
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
#realJSOP wrote: You can't possibly run out of space with one of those.
Well, you might if...
Steve Jobs: ...you're holding it wrong.
Just trying to keep the unrelated quotes going.
|
|
|
|
|
|
Maybe you cannot boot over USB. But you can mount it from Linux and have you devenv there I guess.
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
megaadam wrote: But you can mount it from Linux and have you devenv there I guess.
THat's a good point. This is a Linux thing (mounting a drive) that I am a bit cloudy on and that may even be the issue with the flash drives. I see multiple "disks" (partitions) or whatever they are when I do a df command and it looks like there is space but those names are so confusing to me
/dev/sdb
/dev/sdb1
I can't tell a drive from a hole in the ground.
It's my limited knowledge of linux filesystems and drives.
|
|
|
|
|
linux file systems - YouTube[^]
0) If it were me (and it has been), I'd boot from Linux and run Windows in a VM. I'm booting Ubuntu, running Win7 in a Virtual Box VM (on a desktop, and a laptop), and have an external drive for source code so I can attach it to the machine I'm using at the time.
1) Can't you just install the Android SDK to the external drive, and connect the drive when you need it?
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
disk full could be (from my recollections a while back) when running from a flash drive it creates a couple of pseudo-drives (tmp? var?) in memory (ramdisk) rather than on the hdd/ssd.
Message Signature
(Click to edit ->)
|
|
|
|
|
lopatir wrote: disk full could be (from my recollections a while back) when running from a flash drive it creates a couple of pseudo-drives (tmp? var?) in memory (ramdisk) rather than on the hdd/ssd.
I was wondering about that exact thing. Could it be that I'm filling RAM? If so are we then saying that Ubuntu can't run Android Studio, emulator etc on my 8GB machine either?
That's why I was attempting to test the trial before moving to actual disk. However, now that I've seen that $22.95 SSD I may have to just try it to see.
|
|
|
|
|
Android Studio requires a minimum of 4gb, and 8gb is recommended (if you believe the internet). However, I've seen complaints about performance, and a number of people saying 16GB should be the recommended amount of ram. Maybe it's time add another 8gb to your laptop (if it can support it).
|
|
|
|
|
#realJSOP wrote: Maybe it's time add another 8gb to your laptop (if it can support it).
Yeah, I think I'm kicking the dead horse (laptop).
But in my defense I'm really cheap and the only thing I need is more RAM. But since my laptop won't support more than 8GB I have to buy an entire new rig.
|
|
|
|
|
I recently got a 17-inch Dell i7. Came with 2tb analog drive, dvd, usb3, gb ethernet and 16gb ram. I added a 2nd 16gb stick, and replaced the analog drive with a 500gb nVME drive and a secondary 1tb ssd. It's pretty nice.
|
|
|
|
|
I realize this tidbit won't necessarily be useful to you at this time, but as far as running out of disk space goes...and thumbdrives larger than 64GB quickly get ridiculously expensive...I've successfully used a 256GB MicroSD with a USB adapter to boot Ubuntu from (or was it Debian...?)
Point is, the larger-capacity MicroSD cards are a lot cheaper than the equivalent thumbdrives, and will act just the same if you use a USB adapter. Although YMMV. Especially when it comes to booting off of them. Put I can confirm it has worked in my case.
|
|
|
|
|
dandy72 wrote: MicroSD cards are a lot cheaper than the equivalent thumbdrives
But SD cards are less reliable and a lot more fragile.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Are they? I've broken a couple of thumbdrives over the years because they typically stick out of laptops, especially some of the older, physically larger ones.
And I can't honestly speak for their reliability - I've yet to have either a thumbdrive or MicroSD card die on me.
|
|
|
|
|
Never had a thumb drive fail, but I've lost a couple of MicroSD cards for no apparent reason. I try to say away from them when possible.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
The drive might be 16 or 32 Gig, but how big is the Ubuntu partition? It might set itself up with only 4 Gig.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
|
try running gparted so you can see the drives and partitions. if it is not on the install, try "sudo apt-get install gparted" from a terminal window. it will ask for your password and install the tool.
This tool is often used from a live cd to manage partitions on windows computers.
|
|
|
|
|
Thanks for the help. I will try that out. I posted to Unix/Linux stack exchange [^] and some have said I can run the Trial from USB Stick 1 (16Gb) and install it to USB Stick 2 (64GB) for a full installation and then the limit should go away since I'll have a true Ubuntu install.
|
|
|
|
|
Maybe a how to article when you end with all this?
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
It could well be that it installed the OS in a RAM drive and you are trying to add stuff there. Have a look with gparted, you may have to mount a partition on the flash drive and install your emulator there, not the root.
If you can keep your head while those about you are losing theirs, perhaps you don't understand the situation.
|
|
|
|
|
I believe you are correct in what was happening. I posted a question on unix/linux stackexchange[^].
Some have said that I can run the trial from USB STick 1 (16GB) and install it to USB Stick 2 (64GB) stick so I have a full installation and a larger partition size.
I will try that tonight. Hopefully it will be easy.
|
|
|
|
|
Years and years ago I can remember putting data into REM statements in order to save memory.
Then poking and peeking things. In those days we didn't have very much memory really. So I am surprised that I remembered it at all.
A REM statement was called a remark in those days and now is more commonly referred to as a comment statement.
I had Visual Studio 2017 open in a VB.Net Winform Project and just typed "REM This is a comment" and what the elephant it went green and thus was treated as a comment statement. I was shocked. Never knew that you could do that.
OK that was just after the class declaration so tried it within the code and the intellisense wouldn't allow it.
Wanting to and changing it to RemoveHandler as soon as you entered the space after the REM.
However If I pasted it there it would immediately accept it as a comment statement.
I can understand that there is some requirement for backward compatibility, but, really, this is ridiculous.
However sort of historically wonderful as well.
So I also opened up a C# project and tried some old C stuff and this is also in there.
Tried
/* this is a
* comment
*/
It all turned green.
It is actually better than just typing // on every line as it auto inserts the * until you terminate it with a */
This was accepted any where I typed it. Didn't know about this either.
Again seems a bit ridiculous but sort of nice.
Sometimes you learn from doing daft things.
(Maybe everyone else knew about this. I didn't)
"Rock journalism is people who can't write interviewing people who can't talk for people who can't read." Frank Zappa 1980
|
|
|
|