[Spice_discussion] Maximum memory consumption

Charles H. Acton cacton at mailhost4.jpl.nasa.gov
Mon Mar 14 09:03:41 PST 2005


At 10:12 PM +0900 3/14/05, Ryosuke NAKAMURA wrote:
>Dear SPICE guys:
>
>I'm going to use the NAIF toolkit as a part of the integrated data analysis
>package for SELENE imagers. Some developers are worrying about the
>memory allocation. How much memory space would be consumed by the NAIF toolkit
>in the maximum? 
>


Hello Ryosuke-

One way to get a handle on typical program (executable) size is to 
look at the small set of application programs provided in the NAIF 
Toolkit for the various languages, platforms, operating systems and 
compilers.  One can look starting here:

   ftp://naif.jpl.nasa.gov/pub/naif/toolkit/

I scanned through this area and found that the largest executable 
sizes were for the FORTRAN/Sun-Solaris/Sun Fortran environment. 
Below is the listing of Toolkit executables for this environment. The 
largest of all is just under 4 Mbytes.

Path: [naif.jpl.nasa.gov][pub][naif][toolkit][FORTRAN][Sun_Solaris][executables]

Name		Size	Kind		Last Modified

brief		1,645K	Document	Wed, Jan 12, 2005, 5:28 PM
chronos		3,850K	Document	Wed, Jan 12, 2005, 5:28 PM
ckbrief		1,953K	Document	Wed, Jan 12, 2005, 5:28 PM
commnt		1,364K	Document	Wed, Jan 12, 2005, 5:29 PM
inspekt		3,644K	Document	Wed, Jan 12, 2005, 5:29 PM
mkspk		3,982K	Document	Wed, Jan 12, 2005, 5:29 PM
simple		3,615K	Document	Wed, Jan 12, 2005, 5:29 PM
spacit		2,283K	Document	Wed, Jan 12, 2005, 5:29 PM
spkmerge	1,931K	Document	Wed, Jan 12, 2005, 5:29 PM
states		3,616K	Document	Wed, Jan 12, 2005, 5:29 PM
subpt		3,621K	Document	Wed, Jan 12, 2005, 5:29 PM
tictoc		2,473K	Document	Wed, Jan 12, 2005, 5:29 PM
tobin		1,383K	Document	Wed, Jan 12, 2005, 5:29 PM
toxfr		1,264K	Document	Wed, Jan 12, 2005, 5:29 PM
version		712K	Document	Wed, Jan 12, 2005, 5:29 PM



In most of the Toolkit environments the executables are in the range 
of 1 to 2 MBytes.

Admittedly these Toolkit applications are generally not "hefty" 
programs, but the "Make SPK" utility (mkspk) isn't trivial, either.


For the PC/cygwin/C environment that apparently you will use the 
executable sizes are these:

Path: [naif.jpl.nasa.gov][pub][naif][toolkit][C][PC_Cygwin_C][executables]

Name		Size	Kind			Last Modified

brief.exe	786K	MS-DOS Executable	Wed, Jan 12, 2005, 7:45 PM
chronos.exe	1,941K	MS-DOS Executable	Wed, Jan 12, 2005, 7:45 PM
ckbrief.exe	947K	MS-DOS Executable	Wed, Jan 12, 2005, 7:45 PM
commnt.exe	578K	MS-DOS Executable	Wed, Jan 12, 2005, 7:46 PM
inspekt.exe	1,897K	MS-DOS Executable	Wed, Jan 12, 2005, 7:46 PM
mkspk.exe	2,008K	MS-DOS Executable	Wed, Jan 12, 2005, 7:46 PM
simple.exe	1,808K	MS-DOS Executable	Wed, Jan 12, 2005, 7:46 PM
spacit.exe	1,151K	MS-DOS Executable	Wed, Jan 12, 2005, 7:46 PM
spkmerge.exe	939K	MS-DOS Executable	Wed, Jan 12, 2005, 7:46 PM
states.exe	1,808K	MS-DOS Executable	Wed, Jan 12, 2005, 7:46 PM
subpt.exe	1,811K	MS-DOS Executable	Wed, Jan 12, 2005, 7:46 PM
tictoc.exe	1,199K	MS-DOS Executable	Wed, Jan 12, 2005, 7:46 PM
tobin.exe	591K	MS-DOS Executable	Wed, Jan 12, 2005, 7:46 PM
toxfr.exe	522K	MS-DOS Executable	Wed, Jan 12, 2005, 7:46 PM
version.exe	135K	MS-DOS Executable	Wed, Jan 12, 2005, 7:46 PM


So I don't believe memory size for SPICE portions of your proposed 
software should be a concern.

Regards,
Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://naif.jpl.nasa.gov/pipermail/spice_discussion/attachments/20050314/3421d89c/attachment.html


More information about the Spice_discussion mailing list