system resource

Introduction

MicrosoftdividesWindowssystemresources(heaps)intofiveheaps,amongwhichtherearethreeUserresourceheapsandtwoGDIresourceheaps.ThethreeUserresourceheapsare:16-bitUserHeap(64KB);32-bitWindowsHeap(2MB);32-bitUserMenuHeap(2MB).ThetwoGDIresourceheapsare:16-bitGDIheap(GDIHeap,64KB);32-bitGDIheap(GDI,2MB).

Discrimination

Don’tconfusesystemresourceswithCPUresources(CPUusage),dataprocessingofharddisks,opticaldrives,softcats,3Dimageprocessingofgraphicscards,and3DsoundeffectsofsoundcardsProcessingtakesupCPUtime(thatis,consumingCPUresources),notsystemresources.Theadvancementofthesehardwaredeviceshasnothingtodowiththeamountofsystemresourcesoccupied,butsofarmanypeoplestillconfusethem.Accordingtohabit,theresourceoccupationofhardwaregenerallyreferstotheoccupationofitsCPUresources,whiletheresourceoccupationofsoftwareincludesbothCPUresourceoccupationandsystemresource(heap)occupation,butcomputerusersgenerallycareaboutthelatter,soitissaidTheresourceoccupationofsoftwaregenerallyreferstoitsoccupationofsystemresources.

Function

Systemresourcesareusedtotracktheoperationoftheapplicationratherthantoruntheapplication,justliketherearemorecarsandfewercarsontheroad,notjustalittlemorecarsThereisnowaytodrive.Therefore,itcanbesaidwithcertaintythatwhataffectstheperformanceofthecomputersystemistheotherfactorsofthecomputersystem,andwillneverbethesizeoftheavailablesystemresources.Whentheperformanceoftheuser'scomputersystemissignificantlyreduced,thecauseshouldbefoundfromotheraspectsinsteadofimmediatelysuspectingthesystemresources.

Fromtheperspectiveofhardware,toosmallmemorycausesthesystemtofrequentlyusevirtualmemoryisoneofthemainreasonsthataffectsystemperformance;

Fromtheperspectiveofsoftware,becauseWindowsisInamultitaskingoperatingsystem,everyoneisaccustomedtorunningmultipleapplicationsatthesametimeregardlessofactualneedsatthetime.Theprogrammerswhowriteanddebugtheseapplicationsgenerallyonlyconsidertheiroperationinasingle-taskenvironment,anddonothavetoomuchenergytoconsideranddebugfromamulti-taskenvironment,somanyapplicationsoftencannotworkwelltogether.Runningmultiplesuchapplicationsatthesametimewillcausesystemperformancedegradationduetoconflictsbetweenthem.Ofcourse,theimperfectionoftheWindows9Xmultitaskingmanagementmechanismisalsooneofthemainreasonsforthisproblem.

SevenwaystodealwithinsufficientWindowssystemresources

1.Clearthe"clipboard".Whenapictureoralargesectionoftextisstoredinthe"clipboard",itwilltakeupmorememory.Pleaseclearthecontentsofthe"Clipboard"andreleasethesystemresourcesitoccupies:click"Start",pointto"Programs",pointto"Accessories",pointto"SystemTools",click"ClipboardViewer",andthenclickOnthe"Edit"menu,clickthe"Delete"command.

2.Restartthecomputer.Justexittheprogramwithoutrestartingthecomputer,theprogrammaynotbeabletoreturntheoccupiedresourcestothesystem.Pleaserestartyourcomputertofreeupsystemresources.

3.Reduceautomaticrunningprograms.IftherearetoomanyprogramsthatautomaticallyrunwhenyoustartWindows,thenevenifyourestartthecomputer,therewillnotbeenoughsystemresourcesforrunningotherprograms.SetWindowsnottostarttoomanyprograms:First,click"Start→Run",type"msconfig",clickthe"OK"button,clickthe"Start"tab,andclearthecheckboxesbeforetheprogramsthatdonotneedtobestartedautomaticallyframe.Second,click"Start→Run",type"sysedit",clickthe"OK"button,anddeleteunnecessaryself-startingprogramsinthe"autoexec.bat","win.ini"and"config.sys"filesRow.thenrestartyourcomputer.

4.Setvirtualmemory.Insufficientvirtualmemorycanalsocausesystemoperationerrors.Youcanmanuallyconfigurevirtualmemoryinthe"SystemProperties"dialogbox,andchangethedefaultlocationofvirtualmemorytootherdiskpartitionswithlargefreespace.

5.Therearebugsordamagesintheapplication.Someapplicationshavebugsintheirdesignorhavebeendestroyed,andtheymayconflictwithWindowsorcompeteforresourcesduringoperation,resultingininsufficientsystemresources.Therearetwosolutions:oneistoupgradetheproblematicsoftware,andtheotheristouninstallthissoftwareandmodifyothersimilarsoftware.

6.Memoryoptimizationsoftware.Manymemoryoptimizationsoftware,suchasRAMIdleandMemoKit,canautomaticallyclearthe"clipboard",releasethesystemresourcesnotreleasedbytheclosedprogram,andreorganizethevirtualmemoryfile(Win386.swp),eliminatingmanualoperations.Trouble,achievethepurposeofautomaticallyreleasingsystemresources.

7.Reserveenoughspacefortheharddisk.BecauseWindows9xneedstouseharddiskasvirtualmemorywhenrunning,thisrequiresthattheharddiskmustreserveacertainamountoffreespacetoensurethenormaloperationoftheprogram.Generallyspeaking,atleast100MBofspaceshouldbeguaranteed,otherwisethe"bluescreen"islikelytoberelatedtotheremainingspaceoftheharddisktoosmall.Inaddition,toomuchfragmentationoftheharddiskcaneasilyleadtotheappearanceofa"bluescreen".Therefore,itisnecessarytoperformdefragmentationeveryonceinawhile.

Related Articles
TOP