Re: Exe's & App's

From: Jerry (ideas_at_lwolf.com)
Date: 02/25/05


Date: Fri, 25 Feb 2005 15:20:16 -0500

Ok that makes sense. Thanks guys. Looks like you saved me weeks of needless
work.

I was just looking at the memory used in Windows Task Manager, and it seems
that after I open and close various forms, the mem usage keeps climbing and
never really get back close to the initial state (kind of like gas prices).
I compared the memory dump ("LIST MEMORY") from an exe that I had opened &
closed forms, to one that I didn't open the forms and the were relatively
the same. Is there any vfp utilities out there that could tell me what most
of the memory is being used by, so that I could tighten up specific sections
of our app.

Or is there (and I realize this might be too general of a question or too
specific to each individual vfp application/setup) commands that we could be
calling to release/flush some of the unused memory.

This hasn't really been an issue, just more curiosity than anything.
Although we do have a number of clients running Citirx or Terminal Services,
and therefore every user is running the exe from one server, and if you have
10-15 users each running 1 or more 25 mb exe's, that they keep open all day
long, well it adds up rather quickly. But so far those clients have been
understanding that they require more RAM than most.

Thanks for you insight,

Jerry

"Thomas Ganss"
<tganss_at_t_dash_online_dot_de-remove-all-after-first-real-dash@yahoo.com>
wrote in message news:cvnlkg$7a0$04$1@news.t-online.com...
> Jerry schrieb:
> > Hi, I've been doing some tests to see if we can divide our exe into a
main
> > exe and multiple .app's, so that only what the user requires is loaded
into
> > memory.
> Wrong assumption <g>. Think of vfp's exe and app as "zipped directories"
> in which vfp reads the needed info and then copies it into memory.
> Easy to try out: include a 1.5GB of table into your exe...
>
> If you regularly have to update only part of the app, splitting
> *might* make sense, but you will run into your already mentioned
> troubles and possible version incompatibilities from later development.
>
> Only recomended if most of your customers get udated via modem or mobile
> phone. Do the math for cost yourself <g>.
>
> HTH
>
> thomas



Relevant Pages

  • Re: Application caching
    ... using shared memory from other user sessions is ... ... If the exe is still in memory, it should read it from disk again if it ... Microsoft MVP - Terminal Services ... We have set up Server 2008 with Terminal Server for about 10 users. ...
    (microsoft.public.windows.terminal_services)
  • Re: msdos exe file loading related questions, answer as much as u can ;)
    ... # of bytes of last 512-byte block of the exe file ... interpreted by the exe program loader to mean the whole last 512-byte ... program memory image's memory address and some say it is a 32-bit ...
    (comp.lang.asm.x86)
  • Re: How: multiple program instances sharing same data
    ... so this memory isn't shared. ... private copy of JITted code. ... Ok, because the .exe isn't native to my machine, it gets just-in-time ... I am talking about a Windows NET App, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: HOW IS Memory Used by a VB App
    ... The EXE is actually loaded on demand, ... At startup, ... are automatically pulled into physical memory from the backing file. ... As for dynamic strings or arrays, ...
    (microsoft.public.vb.general.discussion)
  • msdos exe file loading related questions, answer as much as u can ;)
    ... # of bytes of last 512-byte block of the exe file ... interpreted by the exe program loader to mean the whole last 512-byte ... program memory image's memory address and some say it is a 32-bit ...
    (comp.lang.asm.x86)

Loading