Such as I run my application on the microSD having 16G on my BeagleBONE.

Le ven. 31 août 2018 à 20:22, Ichrak Mansour <[email protected]>
a écrit :

> I create a swapfile and I run it, but every time, I get the same error...
>
> Le jeu. 23 août 2018 à 20:11, Dennis Lee Bieber <[email protected]> a
> écrit :
>
>> On Thu, 23 Aug 2018 16:52:08 +0200, Ichrak Mansour
>> <[email protected]> declaimed the
>> following:
>>
>> >Thank you Robert.
>> >But when I used a microSD with 16G, I need to make a swapfile also?
>> >
>>
>>         IF it is running out of RAM then yes, you likely need a swapfile.
>> Programs don't run "on the SD card" (or eMMC). They are /stored/ as files
>> there and get loaded into RAM when executed.
>>
>>         The BBB RAM is only 512kB. If the program needs more RAM than is
>> available the OS will kill it. Using a swapfile lets the OS copy currently
>> idle code/data from RAM to the SD card (or other device -- I'd recommend
>> using a USB hard-disk, to reduce wear on flash memory) and map in the
>> freed
>> RAM as more data space for the current program.
>>
>> https://en.wikipedia.org/wiki/Paging
>> """
>> Flash memory has a finite number of erase-write cycles (see Limitations of
>> flash memory), and the smallest amount of data that can be erased at once
>> might be very large (128 KiB for an Intel X25-M SSD [27]), seldom
>> coinciding with pagesize. Therefore, flash memory may wear out quickly if
>> used as swap space under tight memory conditions. On the attractive side,
>> flash memory is practically delayless compared to hard disks, and not
>> volatile as RAM chips. Schemes like ReadyBoost and Intel Turbo Memory are
>> made to exploit these characteristics.
>> """
>>
>>
>> --
>>         Wulfraed                 Dennis Lee Bieber         AF6VN
>>         [email protected]    HTTP://wlfraed.home.netcom.com/
>>
>> --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/beagleboard/qt0undp53utjadn4attrkrva4eiohvs763%404ax.com
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> --
>
>    * ICHRAK Mansour*
>
> Etudiante en ingénierie Téléinformatique
> Université de Sousse - ISITCOM
> *T :*  +216 52 650 216
> *M :* [email protected]
>


-- 

   * ICHRAK Mansour*

Etudiante en ingénierie Téléinformatique
Université de Sousse - ISITCOM
*T :*  +216 52 650 216
*M :* [email protected]

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CACtBPxNQ557y8AVrUt3mniRd0hXJ2njCy-YUEXSPfbK6Espxcg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to