[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Memoria



Pessoal parece que realmente nao eh possivel rodar programas que ocupem mais
de 2Gb ou 3Gb, no meu caso, vejam a resposta que tive na lista de fora:

In general you're not going to be able to allocate more than 2GB of
RAM on a 32-bit system like the Pentium. While Intel played some
tricks with the hardware and actually implemented a 36-bit address bus
(I think it's 36 bits anyway), applications generally use 32-bit
pointers on a 32-bit CPU and they're assumed to be signed so that
limits you to 2^31 bytes of memory, or 2048MB (2GB). What the 6GB of
RAM buys you is that you could run 3 separate processes each using 2GB
of RAM and never hit your swap space, but a single application can't
use more than 2GB at a time, in general.

There may be low-level things in the kernel that would allow you to
use more than 2GB of RAM, but I'm not familiar with them and it
certainly wouldn't be portable.

If you need an application to have access to more than 2GB of RAM then
you need to get a 64-bit system like an Alpha, Sparc or Itanium.


Valeu.

----- Original Message -----
From: "João Alfredo" <joaoalf@dotx.com.br>
To: "Eicke" <eick.jac@terra.com.br>
Cc: <debian-user-portuguese@lists.debian.org>
Sent: Thursday, September 04, 2003 12:04 PM
Subject: Re: Memoria


> Olá Eicke,
>
> 2 perguntas:
>
> Quanto de swap tem o seu servidor??
> Vc habilitou o High Memory Support no kernel??
>
> ...
> Outra coisa.
> Qual a saida do comando ulimit -a??
>
> []s's
>
>
> Em Ter, 2003-09-02 às 13:23, Eicke escreveu:
> > Galera,
> >
> > Tenho 6Gb de memoria total em minha maquina. Estou verificando que as
> > ferramentas para verificacao de utilizacao de memoria estao apontando
mais
> > ou menos 3 Gb de memoria free, como vcs podem ver abaixo:
> >
> > # top
> > Mem:   6082588K total,  3056400K used,  3026188K free,   103064K buffers
> > # vmstat 1 10
> >    procs                      memory    swap          io     system
> > cpu
> >  r  b  w   swpd   free   buff  cache  si  so    bi    bo   in    cs  us
sy
> > id
> >  0  0  0      0 3026272 103064 2846652   0   0     1     1    5     2
18
> > 0  18
> >  0  0  0      0 3026272 103064 2846652   0   0     0     0  102     4
0
> > 0 100
> >  0  0  0      0 3026272 103064 2846652   0   0     0     0  104     6
0
> > 0 100
> >  0  0  0      0 3026272 103064 2846652   0   0     0     0  102     4
0
> > 0 100
> >
> > Acontece que quando dou um ps -aux nao existe nenhum processo consumindo
> > memoria e nem a soma de todos os processos daria 3 Gb de memoria uasada.
> > Nao eh possivel o sistema esta ocupando 3 Gb de memoria, alguem tem uma
> > ideia de como posso verificar/resolver?
> >
> > Valeu.
> > Eicke.
> --
> João Alfredo <joaoalf@dotx.com.br>
> dotX Consultoria Serviços e Conectividade
>
>
> --
> To UNSUBSCRIBE, email to debian-user-portuguese-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
>
>



Reply to: