WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Core Plus - Ram full  (Read 10628 times)

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Core Plus - Ram full
« Reply #15 on: January 05, 2014, 02:30:38 PM »
Boot with the 'nozswap' boot option.  You have plenty of real swap.
It is going to be difficult to run any large X app with only 80M of RAM.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1703
Re: Core Plus - Ram full
« Reply #16 on: January 05, 2014, 02:37:48 PM »
Copy & Paste:
Just mark the text with the mouse, then paste it anywhere using middle mouse button or SHIFT+INSTERT.
You can also copy via keybord but I forgot the exact key combo. (CTRL+INS or CTRL+SHIFT+INS).
Download a copy and keep it handy: Core book ;)

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Core Plus - Ram full
« Reply #17 on: January 05, 2014, 09:03:39 PM »
Given the amount of swap you have, I doubt you are running out of memory.
By default core is allocating 90% of Total of RAM as max. size of tmpfs, so it is not unlikely you run out of storage space.
Also to consider is that with a tmpfs that small there is a chance of running out of inodes before running out of space which might result in same error message.

I'd find trying to run epiphany with 80MB RAM absolute overkill, regardless of everything else.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline alouestn1

  • WikiUser
  • *
  • Posts: 14
Re: Core Plus - Ram full
« Reply #18 on: January 06, 2014, 07:50:46 AM »
Quote
Boot with the 'nozswap' boot option.
How I can do that ?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Core Plus - Ram full
« Reply #19 on: January 06, 2014, 08:06:21 AM »
You need to edit your bootloader config file.
Where it is depends on what you are booting from and which boot loader you are using.
Please consult  the wiki.
http://wiki.tinycorelinux.net/

Offline alouestn1

  • WikiUser
  • *
  • Posts: 14
Re: Core Plus - Ram full
« Reply #20 on: January 06, 2014, 10:15:18 AM »
I edited the "extlinux.conf" file and I added "nozswap".

When I reboot with "nozswap" :
Code: (bash) [Select]
tc@box:~$ cat /proc/swaps
Filename Type Size Used Priority
/dev/sda2                               partition 297196 0 -1

The "/dev/zram0" disappeared.

Epiphany doesn't use the swap partition and exit with this errors : (the GUI not start).
Code: (bash) [Select]
touch: /usr/local/tce.installed/gnome-icon-theme: No space left on device
mkdir: can't create directory '/tmp/tcloop/gnome-icon-theme-symbolic': No space left on device
mount: can't setup loop device: No space left on device

What is the command to show the enabled extensions ?
How I can disable extensions ?

Quote
You should install to HD, and only what you need
How can I choose only what I need to install ?
« Last Edit: January 06, 2014, 10:18:11 AM by alouestn1 »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Core Plus - Ram full
« Reply #21 on: January 06, 2014, 10:35:39 AM »
Run Apps and remove anything you don't need from 'onboot'.
Then reboot.

Offline alouestn1

  • WikiUser
  • *
  • Posts: 14
Re: Core Plus - Ram full
« Reply #22 on: January 06, 2014, 11:40:44 AM »
I don't know what items I can delete.




Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Core Plus - Ram full
« Reply #23 on: January 06, 2014, 11:55:21 AM »
The only ones you need are:
Xprogs.tcz
Xvesa.tcz
flwm_topside.tcz
aterm.tcz
wbar.tcz




Offline alouestn1

  • WikiUser
  • *
  • Posts: 14
Re: Core Plus - Ram full
« Reply #24 on: January 06, 2014, 12:33:03 PM »
I deleted the items unless this :
Xprogs.tcz
Xvesa.tcz
flwm_topside.tcz
aterm.tcz
wbar.tcz
kmaps.gz

Now I have 30704K free Mem with recorded shell output to a file on USB Key mounted. Thanks a lot gerald_clark.

When I try to launch Epiphany web browser, it exit with this errors : (the GUI not start).
Code: (bash) [Select]
tc@box:~$ epiphany
/usr/share/fonts: caching, new cache contents: 1 fonts, 0 dirs
/usr/lib/X11/fonts: caching, new cache contents: 0 fonts, 2 dirs
/usr/lib/X11/fonts/75dpi: caching, new cache contents: 48 fonts, 0 dirs
/usr/lib/X11/fonts/misc: caching, new cache contents: 48 fonts, 0 dirs
/usr/local/share/fonts: skipping, no such directory
/usr/local/lib/X11/fonts: skipping, no such directory
/.local/share/fonts: skipping, no such directory
/usr/share/fonts: caching, new cache contents: 1 fonts, 0 dirs
/usr/lib/X11/fonts: caching, new cache contents: 0 fonts, 2 dirs
/usr/local/share/fonts: skipping, no such directory
/usr/local/lib/X11/fonts: skipping, no such directory
/.local/share/fonts: skipping, no such directory
/var/cache/fontconfig: cleaning cache directory
/.cache/fontconfig: not cleaning non-existent cache directory
fc-cache: succeeded
touch: /usr/local/tce.installed/gnome-icon-theme: No space left on device
mkdir: can't create directory '/tmp/tcloop/gnome-icon-theme-symbolic': No space left on device
mount: can't setup loop device: No space left on device
After I launch Epiphany I have 3704K free Mem and the swap partition empty.




Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Core Plus - Ram full
« Reply #25 on: January 06, 2014, 12:43:50 PM »
How did you delete them?
Did you reboot?
How did you install epiphany?
Why don't you add memory so you can actually run something?

Offline alouestn1

  • WikiUser
  • *
  • Posts: 14
Re: Core Plus - Ram full
« Reply #26 on: January 06, 2014, 11:34:31 PM »
I effaced them in the "/tce/onboot.lst" file with the text editor.
I rebooted of course.
I installed epiphany OnDemand with the Apps software.
I will extend memory to the amount of 144 Mb very soon. (The 128 Mb module is on the way)

Code: (bash) [Select]
touch: /usr/local/tce.installed/gnome-icon-theme: No space left on device
mkdir: can't create directory '/tmp/tcloop/gnome-icon-theme-symbolic': No space left on device
mount: can't setup loop device: No space left on device
Why epiphany doesn't launch ?

« Last Edit: January 07, 2014, 12:08:36 AM by alouestn1 »

Online curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10070
Re: Core Plus - Ram full
« Reply #27 on: January 07, 2014, 03:17:17 AM »
You simply don't have enough memory to run Epiphany right now.
The only barriers that can stop you are the ones you create yourself.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Core Plus - Ram full
« Reply #28 on: January 07, 2014, 04:35:27 AM »
Please post output of
Code: [Select]
df
and
Code: [Select]
df -i
both before and after loading the epiphany extension.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline alouestn1

  • WikiUser
  • *
  • Posts: 14
Re: Core Plus - Ram full
« Reply #29 on: January 07, 2014, 05:04:48 AM »
Quote
You simply don't have enough memory to run Epiphany right now.
How much megabyte does it need ?

Can I install an another web browser that need less memory ?
« Last Edit: January 07, 2014, 05:08:40 AM by alouestn1 »