WEBVTT 00:00:00.040 --> 00:00:03.370 Today I'm going to show you how to set the memory of your Flame device. 00:00:03.370 --> 00:00:07.359 Out of the box the Flame device has a gig of memory. which is much more than most 00:00:07.359 --> 00:00:09.820 Firefox OS devices out in the market have. 00:00:09.820 --> 00:00:13.710 To make sure that your applications are running properly you want to throttle the 00:00:13.710 --> 00:00:14.710 RAM a bit more 00:00:14.710 --> 00:00:19.070 so you simulate a phone that is not as fast as this one. You do that on the Flame 00:00:19.070 --> 00:00:21.000 device by using a few things: 00:00:21.000 --> 00:00:25.740 ADB and Fastboot. The first thing you have to do is on your phone to make sure 00:00:25.740 --> 00:00:30.470 that the ADB and Fastboot debugging is set. For that you go into the Developer 00:00:30.470 --> 00:00:30.949 mode 00:00:30.949 --> 00:00:35.670 and you have to make sure that debugging via USB, ADB and Devtools is set up. 00:00:35.670 --> 00:00:39.329 That way you can use Developer Tools in the browser and you can use ADB on the 00:00:39.329 --> 00:00:40.079 command line. 00:00:40.079 --> 00:00:43.250 On the Flame Wiki page that you see here right now 00:00:43.250 --> 00:00:46.770 we have all the information for you to set the RAM so I'm gonna show you 00:00:46.770 --> 00:00:49.539 quickly how to do that in the Terminal right now. 00:00:49.539 --> 00:00:53.129 You can actually just copy and paste what on that screen and see what's going 00:00:53.129 --> 00:00:53.730 on. 00:00:53.730 --> 00:01:00.139 If you do "ADB reboot boot loader" that will reset my phone and actually 00:01:00.149 --> 00:01:02.931 run it into the rebooting: you see the screen is going off 00:01:02.940 --> 00:01:06.340 and it's starting to reboot it. Then I can use Fastboot 00:01:06.340 --> 00:01:09.619 to set the memory. So I say it "fastboot OEM 00:01:09.619 --> 00:01:16.290 mem 512" and that one now sets the device RAM to 512 MB. 00:01:16.290 --> 00:01:20.049 All I have to do then is do a "fastboot reboot" 00:01:20.049 --> 00:01:24.290 and then the phone reboots into 512 meg of RAM. 00:01:24.290 --> 00:01:27.820 You will see now that the rebooting takes much longer than on the device with 00:01:27.820 --> 00:01:28.650 more memory. 00:01:28.650 --> 00:01:32.740 So if we reset that back you will see that it's actually half the 00:01:32.740 --> 00:01:33.220 time. 00:01:33.220 --> 00:01:37.610 That way you can adjust to RAM of the Flame device to the device that you are actually 00:01:37.610 --> 00:01:38.610 targeting to 00:01:38.610 --> 00:01:42.340 so you don't need another device. You might in the end want to buy one but 00:01:42.340 --> 00:01:45.079 it's a good opportunity to test if the performance 00:01:45.079 --> 00:01:50.530 memory wise works on your device. So, use ADB and Fastboot quickly to set 00:01:50.530 --> 00:01:51.360 and reset the RAM.