WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Ram problem  (Read 2427 times)

Offline q7x

  • Newbie
  • *
  • Posts: 26
  • TinyCore Is The Best
Ram problem
« on: October 24, 2009, 06:45:33 PM »
tinycore load in ram. after copy file ( for example 100 MB) into hard disk (/mnt/hda1) memory used = x + 100 MB
is there any method for copy file into hard disk and not use ram capacity.
>>>> Ony Tiny Core <<<<

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Ram problem
« Reply #1 on: October 24, 2009, 06:54:14 PM »
tinycore load in ram. after copy file ( for example 100 MB) into hard disk (/mnt/hda1) memory used = x + 100 MB
is there any method for copy file into hard disk and not use ram capacity.

How do you measure RAM usage?
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline q7x

  • Newbie
  • *
  • Posts: 26
  • TinyCore Is The Best
Re: Ram problem
« Reply #2 on: October 24, 2009, 07:00:17 PM »
size of backup.tar : 602 MB

before copy backup

free

                  total             used         free           shared      buffers
 Mem:      1026916        35972       990944            0           80
Swap:            0              0                 0
Total:      1026916        35972       990944

cd /mnt/hda1/
cp backup.tar backup2.tar
free

                 total             used             free        shared      buffers
Mem:     1026916        1011176        15740            0         1380
Swap:            0            0                    0
Total:      1026916      1011176        15740
>>>> Ony Tiny Core <<<<

Offline q7x

  • Newbie
  • *
  • Posts: 26
  • TinyCore Is The Best
Re: Ram problem
« Reply #3 on: October 24, 2009, 07:10:53 PM »
after delete backup2.tar

rm -rf backup2.tar
free

                   total           used            free          shared      buffers
 Mem:      1026916       521748       505168            0         1400
Swap:            0            0                    0
Total:      1026916       521748       505168
>>>> Ony Tiny Core <<<<

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Ram problem
« Reply #4 on: October 24, 2009, 07:19:20 PM »
This is normal, in a LINUX system usually you see low free memory size with command 'free'. After some use you can see increased number of buffer; it is not a lost memory, just allocated and will be reused when needed.

Better to use 'df -h' command and look for tmpfs available space mounted on / before and after.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline q7x

  • Newbie
  • *
  • Posts: 26
  • TinyCore Is The Best
Re: Ram problem
« Reply #5 on: October 24, 2009, 07:31:33 PM »
thanks bmarkus for this help and other replies.
   
Good luck to you and all  Hungarian
>>>> Ony Tiny Core <<<<