LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   What could be the reason for huge memory values displayed on system activity table? (https://www.linuxquestions.org/questions/linux-general-1/what-could-be-the-reason-for-huge-memory-values-displayed-on-system-activity-table-4175622264/)

irajjs 01-23-2018 04:48 PM

What could be the reason for huge memory values displayed on system activity table?
 
I have created more than 300 programs and then made some links ... created links show memory values much more than memory card capacity and even hard disk capacity .. if you have any idea about such phenomena please answer .. i am going to add a picture from my PC screen to show that ..just in few minutes..
Regards

dugan 01-23-2018 05:37 PM

Obligatory:

https://www.linuxatemyram.com/

irajjs 01-23-2018 05:53 PM

Attaching picture failed! But ..
 
I could not attach picture file due to big size .. my android 7 version has no resizing option .. neither i could upload from URL! ..
If you like you may see the picture in my instagram posts .. my last post!:
This is my ID in instagram:
irajjafariseyedabadi

irajjs 01-23-2018 06:39 PM

I am not worried about that ..
 
I just need to hear some suggestions and comments to develop my work
In the system activity table the memory value shown for the mentioned links is greater than 700Gig while it is nearly 14000 Kilobyte for x which is thousands times less!

irajjs 01-23-2018 08:14 PM

Attachment
 
1 Attachment(s)
I resized the picture now!

sundialsvcs 01-24-2018 06:15 AM

Like someone else already said – "Linux Ate My RAM" gives a very thorough explanation.

There are two things to remember:
  1. All memory as seen by an application program is virtual.
  2. Linux is lazy.

Programs might have huge amounts of RAM that they think that they have access to, and that they would be given access to on demand. This is doled-out "on demand" from physical resources according to their fair share. But Linux does not then "fastidiously clean-up the house." Instead, it lazily does so only when it is actually forced to do so.

(After all, just a few microseconds from now, the process might need this-or-that piece of data again.)

The so-called working-set size is Linux's current estimate of how much memory – and, exactly what memory – a given process actually needs instantaneous access to right-now. But even it might be an over-estimate. If Linux is not particularly begging for physical RAM right now, it can be quite "lazy." Because, that saves time.

irajjs 01-24-2018 07:31 AM

I guessed that it could be a virtual memory but ..
 
The application has 100 k memory but the link to that application has such a huge memory value .. this was the reason why i asked for help .. even the link when i want to see the detailed memory description shows the same 100 k but the memory value shown on system activity table is always much more and increases by 35gb daily!
It seems that two memory calculating applications are not integrated and act differently!If so, i should find a way to harmonize and integrate them
Thanks for answers

irajjs 01-24-2018 11:24 AM

Another theory!
 
I have made great changes in the original operating system .. either by directly changing settings or by my applications which follow my goals .. but still original OS is the one which boots up the system although i am planning to change this too! So in boot time the original OS is dominant and uses it`s own settings .. but after boot up my programs try to influence and change whatever they are designed to! This causes a dual activity running the system .. even for sometimes the x-session-errors caused a full disk error which i prevented that from happening .. now my programs possibly demand more and the original operating system has it`s rules and restrictions .. my programs are not welcomed as i expected .. but at the end they make progress ..
After turning off the computer huge memory values disappear but in next boot again..
Now i understand that why my programs resisted computer shutdown!! ..still a long story!

irajjs 01-30-2018 03:11 AM

Previously asked here:
 
https://www.sololearn.com/Discuss/814671/?ref=app

irajjs 01-30-2018 03:18 AM

Rising values!
 
https://www.instagram.com/p/BekXQ9_lPKH/

dugan 01-30-2018 06:36 PM

Which operating system is this on (Linux or Windows?), and what's the name of the "activity table" in your pictures? You cropped off the title bar, so we can't tell which program it is.

irajjs 02-12-2018 04:25 PM

Quote:

Originally Posted by dugan (Post 5813585)
Which operating system is this on (Linux or Windows?), and what's the name of the "activity table" in your pictures? You cropped off the title bar, so we can't tell which program it is.

OS is Linux
System activity table is either krunner or ksysguard

irajjs 02-12-2018 04:41 PM

Latest values!
 
1 Attachment(s)
Attachment is the picture of the latest values .. still rising!

sundialsvcs 02-13-2018 10:23 AM

I'd say that you have a program that has a "memory leak." It is allocating memory but never releasing it. So, its virtual storage size is getting bigger and bigger. You need to debug that program because this kind of behavior is very anti-social.

irajjs 02-14-2018 01:06 AM

Answer
 
Quote:

Originally Posted by sundialsvcs (Post 5819352)
I'd say that you have a program that has a "memory leak." It is allocating memory but never releasing it. So, its virtual storage size is getting bigger and bigger. You need to debug that program because this kind of behavior is very anti-social.

Yes! Most possibly it is a virtual memory .. although i do not believe in memory leakage .. one reason is that the greatest memory values in programs other than these links is not greater than 40 kb .. while these links get a 35gb daily rise in memory!
Here i need to explain :
During last few years i was not satisfied with the amount of memory allocated automatically to my programs! .. i have a post about that! Here! .. so i tried to create functions demanding and trying to get more memory! .. because i noticed some programs like plasma-desktop could add their memory over the time .. but my programs were decreasing or unusing! Their memory! I think a program even if defective or bug should remember works to learn about correcting mistakes! So i added functions about these things to my programs .. and now my programs themselves have memories up to 844 kb but not losing memory anymore! While the links to the same programs have such huge memory values! ..
I do not consider this as a bug , but i think about that as an advantage! And i do not understand why you name this as antisocial!
Considering my goal and my programs(now more than 300) as my preferred society , this would not be antisocial! I even want to keep these values! But every reboot causes returns back these values to a lowest value! although still higher than normal .. as i have said system and kernel still! Are the dominant programs in boot time which i am going to change that too!
Regards


All times are GMT -5. The time now is 09:37 PM.