Mac memory leak

Michael Richman richman "at" cam.cornell.edu
Sat, 25 Jul 1998 21:45:09 +0000


Macintosh VNC Viewer Beta Response Form

The Setup

This problem occured on a [Power Tower Pro (Power Mac 9500 clone)] 
I have [ 64   ]MB of real memory.
Virtual Memory is: [Off] giving me a total of [64 ]MB of memory
My processor is a [604e] running at [200]MHz
I have kept my finger on the cmd button when running the app. I have enabled logging and have attached copies of default.log and VNCViewer.txt to this email. [No]
I am connecting to a [Sun Ultrasparc 10] running a VNC server of version [3.3.2 for Unix ]
I am using a [cable modem] (4 M downstream, 768 K upstream, supposedly)
My screen depth is [8], the screen size is [832x624] and I have [2]MB of display memory.
I am using [OpenTransport] version number [1.1.2]
I am using VNC Viewer version [Beta 1]
I have saved a description of my configuration via the "Save Set as Text.." option of the Extension Manager Control Panel and have attached it to this email [Yes]

The Problem 

There is a severe memory leak.

After booting my computer and connecting via cable modem, I started the VNC Viewer 
successfully (with no other applications running).  If I switch between the Viewer and the 
Finder (by clicking on the desktop) with the About This Computer menu open, the System 
Software memory allocation jumps up by a few megabytes.  Repeated switching between the 
VNC Viewer and the Finder continues this trend until the computer runs out of memory.  For 
example, my initial System Software allocation was about 21 Meg.  After switching back and 
forth between the VNC Viewer and the Finder about 10 times, the System Software allocation 
has risen to 45 Meg.

I'm running System 7.6.1

Name	Size	Version	Type	Creator
------------------------------------------------------------------

Extensions
------------------------------------------------------------------
------------------------------------------------------------------
  Now Toolbox	200,033 bytes	6.7	INIT	NowT
 CD-ROM ToolKit* Extension	253,130 bytes	2.3.2	INIT	FWjm
 Display Enabler 	761,466 bytes	1.6	INIT	dmen
Appearance Extension	773,183 bytes	1.0.2	INIT	appr
Apple Guide	759,217 bytes	2.1.1	INIT	reno
Apple QD3D HW Driver	14,722 bytes	1.5.4	ndrv	QD3D
Apple QD3D HW Plug-In	53,795 bytes	1.5.4	shlb	tnsl
AppleScriptLib	28,498 bytes	1.2.2	shlb	cfmg
AppleScript*	304,359 bytes	1.1	INIT	ascr
ATI Graphics Accelerator	71,440 bytes	1.1.4	INIT	ATI 
AudioTuneUp	93,135 bytes	1.3	ndrv	jeff
Clipping Extension	26,115 bytes	7.1.4	fext	clip
Color Picker	124,036 bytes	2.0.1	INIT	cpmg
ColorSync Extension	1,004,322 bytes	2.5	appe	Sync
ColorSync*	499,879 bytes	2.0.1	INIT	sync
Default Calibrator	298,900 bytes	1.0	shlb	CSca
Energy Saver Extension	89,106 bytes	2.0.4	INIT	wnke
EPSON Launcher	14,160 bytes	1.01E	appe	J5LR
EPSON Monitor3	689,880 bytes	1.02E	APPL	J5MT
Ethernet (Built-In)	56,236 bytes	1.0.4	ndrv	cfrg
Fax Manager	84,662 bytes	1.3.2	INIT	QLIN
File Delivery Layer	244,156 bytes	1.0.2	shlb	SLSA
Find File Extension	3,042 bytes	1.1.1	INIT	ffEx
Finder Scripting Extension	203,081 bytes	7.5.5	fext	fsfx
Foreign File Access	34,687 bytes	5.1	INIT	ufox
IdleTime	7,405 bytes	1.1b1	INIT	LNDX
Kerberos Client	1,043 bytes	KClient I	ttro	ttxt
LaserWriter 8	652,715 bytes	8.4.2	PRER	vgrd
MCC Fax Print	89,798 bytes	1.3.2	PRER	QLDV
Microsoft Component Library	56,459 bytes	2.22	shlb	com2
MS Font Embed Library (PPC)	230,975 bytes	2.1.3	shlb	FEmb
MSL C.PPC.DLL	92,369 bytes	-	shlb	cfmg
MSL RuntimePPC++.DLL	22,644 bytes	-	shlb	cfmg
MSL RuntimePPC.DLL	22,644 bytes	-	shlb	cfmg
ObjectSupportLib	41,585 bytes	1.2	shlb	cfmg
Open Tpt AppleTalk Library	479,403 bytes	1.1.2	libr	OMGR
Open Tpt Internet Library	443,820 bytes	1.1.2	libr	OMGR
Open Transport Library	517,139 bytes	1.1.2	libr	OMGR
OpenTptAppleTalkLib	52,098 bytes	1.1.2	shlb	otan
OpenTptInternetLib	252,273 bytes	1.1.2	shlb	otan
OpenTransportLib	464,364 bytes	1.1.2	shlb	otan
PrintingLib	572,833 bytes	8.4.2	shlb	vgrd
QD3DCustomElements	9,843 bytes	1.5.4	shlb	Q3XT
QTC H245 Library	299,742 bytes	2.0	shlb	mtlk
QuickDraw* 3D	1,488,922 bytes	1.5.4	INIT	QD3D
QuickDraw* 3D IR	243,625 bytes	1.5.4	shlb	Q3XT
QuickDraw* 3D RAVE	270,187 bytes	1.5.4	shlb	QD3D
QuickDraw* 3D Viewer	134,563 bytes	1.5.4	shlb	QD3D
QuickTime*	2,790,812 bytes	3.0	INIT	nd6
QuickTime* MPEG Extension	270,790 bytes	1.1	INIT	mjh*
QuickTime* Musical Instruments	2,122,089 bytes	3.0	INIT	dvb 
QuickTime* PowerPlug	2,526,613 bytes	3.0	INIT	nd8
QuickTime* VR	589,721 bytes	2.1	INIT	qtvr
SC 800	72,295 bytes	5.04A	PRER	JEAe
Serial (Built-in)	37,511 bytes	1.2.2	libr	OMGR
Shared Library Manager	168,334 bytes	2.0.1	INIT	OMGR
Shared Library Manager PPC	211,703 bytes	2.0.1	INIT	OMgr
SNMP QTC Agent	6,812 bytes	2.0	libr	snmp
Sound Manager	377,886 bytes	3.3	INIT	sad 
Speech Manager	30,321 bytes	1.4	INIT	ttsc
Speed Doubler* 2 Extension	81,891 bytes	2.0.3	scri	spDA
Text Encoding Converter	605,930 bytes	1.3.1	shlb	encv
Thread Manager	31,628 bytes	2.1.5	INIT	thds
VCSAPI	161,880 bytes	1.0.1	shlb	SLSA
!AppleVision	614,299 bytes	1.6	INIT	avav


Extensions (Disabled)
------------------------------------------------------------------
------------------------------------------------------------------
AppleShare	108,543 bytes	3.6.4	RDEV	afps
Color SW 1500	827,959 bytes	2.2.1	PRER	chle
Color SW 2500	828,219 bytes	2.2.1	PRER	auro
Color SW Pro	410,494 bytes	1.5.2	PRER	CRKt
Desktop Printer Extension	340,310 bytes	2.0.2	fext	dtpx
Desktop Printer Spooler	42,093 bytes	2.0.2	appe	dtps
Desktop PrintMonitor	113,250 bytes	2.0.2	APPL	prmt
File Sharing Extension	194,085 bytes	7.6.2	INIT	hhgg
ImageWriter	46,106 bytes	7.0.1	PRES	IWRT
LaserWriter 300/LS	318,156 bytes	1.2	PRER	LWL2
Network Extension	81,343 bytes	7.5.5	fext	user
Printer Share	80,502 bytes	1.1.3	INIT	pbc2
PrintMonitor	64,062 bytes	7.1.2	APPL	prmt
SC 800(AT)	57,936 bytes	5.04A	PRER	JEAa
StyleWriter 1200	808,871 bytes	2.1.1	PRER	dblo
WorldScript* Power Adapter	30,786 bytes	7.5.3	scri	univ


Control Panels
------------------------------------------------------------------
------------------------------------------------------------------
Appearance	243,011 bytes	1.0.2	APPL	apcp
Apple Menu Options	54,378 bytes	1.1.2	cdev	CDJR
AppleTalk	211,567 bytes	1.1	cdev	atdv
Bear Access Setup	389,045 bytes	1.0	APPL	BACP
ColorSync	18,528 bytes	2.5	cdev	synC
ColorSync* System Profile	28,552 bytes	2.0	cdev	synC
Control Strip	42,813 bytes	1.4.1	cdev	sdev
Date & Time	68,565 bytes	7.5.1	cdev	time
Desktop Patterns	280,624 bytes	7.5.1	APPL	dskp
Energy Saver	210,354 bytes	2.0.4	APPC	wnkl
General Controls	69,664 bytes	7.5.8	cdev	misc
KClient	235,921 bytes	1.7.6	cdev	krBL
Keyboard	8,424 bytes	7.5.1	cdev	keyb
Labels	2,927 bytes	7.1	cdev	flbs
Mac OS Easy Open	140,995 bytes	1.1.3	cdev	meo 
MacLinkPlus Setup	42,012 bytes	8.10 BunI	cdev	DVCP
Map	39,999 bytes	7.5.1	cdev	wmap
Memory	41,722 bytes	7.5.7	cdev	mmry
Monitors & Sound	164,231 bytes	1.4.1	APPL	alav
Mouse	27,894 bytes	7.5.4	cdev	mous
Now FolderMenus	87,202 bytes	6.7	cdev	FMnu
Now Save	146,424 bytes	6.7	cdev	AdSv
Now Tabs	143,390 bytes	6.7.1	cdev	Drwr
Now WYSIWYG Menus	138,652 bytes	6.7	cdev	WYSI
Numbers	16,044 bytes	7.1	cdev	nbrs
PC Exchange	335,084 bytes	2.1.1	cdev	dosa
QuickTime* Settings	81,010 bytes	3.0	cdev	nd7
Sound	54,253 bytes	8.0.5	cdev	soun
Speech	105,343 bytes	1.5	cdev	earc
Speed Doubler* 2	158,905 bytes	2.0.3	cdev	spDD
Startup Disk	6,421 bytes	7.5.3	cdev	sdsk
TCP/IP	297,268 bytes	1.1.2	cdev	ztcp
Text	15,003 bytes	7.1	cdev	tecd
Views	2,926 bytes	7.1	cdev	fvew


Control Panels (Disabled)
------------------------------------------------------------------
------------------------------------------------------------------
AutoRemounter	22,015 bytes	1.2.3	cdev	Remt
File Sharing Monitor	3,146 bytes	7.1	cdev	fsmn
Launcher	60,469 bytes	2.8	cdev	mash
Sharing Setup	3,140 bytes	7.1	cdev	nstp
Users & Groups	3,141 bytes	7.1	cdev	ugcf


System Folder
------------------------------------------------------------------
------------------------------------------------------------------
MacTCP DNR	3,373 bytes	-	cdev	mtcp

---------------------------------------------------------------------
The VNC mailing list     -   see http://www.orl.co.uk/vnc/intouch.html
---------------------------------------------------------------------