hi,
how much memory needs the "pure" Linux OS on the EV3 flash and (when running) in the RAM ?
how much memory (flash/RAM) needs the Lego VM plus accessory files additionally?
EV3: memory details about OS / FW
-
- Posts: 323
- Joined: 29 Sep 2010, 05:03
Re: EV3: memory details about OS / FW
Hi Doc,
those questions are not that simple to answer. The EV3 is way more complex than the NXT in this respect. You will probably get better answers if you can explain what it is you want to do, why you need the memory usage.
Andy
those questions are not that simple to answer. The EV3 is way more complex than the NXT in this respect. You will probably get better answers if you can explain what it is you want to do, why you need the memory usage.
Andy
Re: EV3: memory details about OS / FW
if it's more complicated than I thought it would be, then I'd probably simply try it out if the VM task once is killed.
For the flash I was curious how many different (large) programs probably could be stored,
and about the RAM I was curious how much would be free for code stack plus memory stack + heap.
For the flash I was curious how many different (large) programs probably could be stored,
and about the RAM I was curious how much would be free for code stack plus memory stack + heap.
-
- Posts: 323
- Joined: 29 Sep 2010, 05:03
Re: EV3: memory details about OS / FW
Hi Doc,
trying it would probably be best! For RAM usage the problem is it depends what else you need to have running (WiFi etc.). The EV3 has 64Mb of memory I would be very surprised if there is less than 32Mb avilable for your program (so about 1000 times more than the NXT!). How much memory do you think you will need? If things get tight then I'm sure you have other options, you can probably reduce the number of background processes running and even enable swap on an SD card, but obviously that means using some sort of custom configuration. Sorry can't help with flash as all of my usage is with an SD card, if you use one of those then you can have Gb of storage...
Andy
trying it would probably be best! For RAM usage the problem is it depends what else you need to have running (WiFi etc.). The EV3 has 64Mb of memory I would be very surprised if there is less than 32Mb avilable for your program (so about 1000 times more than the NXT!). How much memory do you think you will need? If things get tight then I'm sure you have other options, you can probably reduce the number of background processes running and even enable swap on an SD card, but obviously that means using some sort of custom configuration. Sorry can't help with flash as all of my usage is with an SD card, if you use one of those then you can have Gb of storage...
Andy
Re: EV3: memory details about OS / FW
thx for your reply, I will try then.
Most of the memory would be needed for my new neural backpropagation net, the size by which I may design it depends on learning speed...
Most of the memory would be needed for my new neural backpropagation net, the size by which I may design it depends on learning speed...
Re: EV3: memory details about OS / FW
On my flash based OS (which does not have RAM drives), I have the following amounts of free memory:
So right now I have about 40-41MB free. I don't know how much memory the LEGO VM will allow you to allocate in your program.
= Xander
Code: Select all
root@EV3:~# free
total used free shared buffers
Mem: 60932 19812 41120 0 2116
Swap: 0 0 0
Total: 60932 19812 41120
= Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
Who is online
Users browsing this forum: Bing [Bot] and 1 guest