DirWinOpen=F6 Doesn't Seem To Work In V10,B031

Jun 2, 2008
298
1
Newton, MA
Alias Load Failure with Version 10

> Are you using global or local aliases?

Local.

-- Jay
 
Jun 2, 2008
298
1
Newton, MA
Alias Load Failure with Version 10

Now that I switched to global aliases, my version-9 alias file loads
without problem. (Under version 9, I had no problem loading the file
with local aliases.)

I must say that the uncontrolled failure in version 10 is disappointing.
There is no warning message -- just a complete crash. It would be
gracious if the alias loader would check for enough space and fail with
an error message rather than leaving the alias storage messed up so that
the system later crashes (the crash did not always occur at the time the
aliases were loaded -- only the first time a command was issued.)

-- Jay
 

rconn

Administrator
Staff member
May 14, 2008
11,459
110
Alias Load Failure with Version 10

Jay Sage wrote:

> Now that I switched to global aliases, my version-9 alias file loads
> without problem. (Under version 9, I had no problem loading the file
> with local aliases.)
>
> I must say that the uncontrolled failure in version 10 is disappointing.
> There is no warning message -- just a complete crash. It would be
> gracious if the alias loader would check for enough space and fail with
> an error message rather than leaving the alias storage messed up so that
> the system later crashes (the crash did not always occur at the time the
> aliases were loaded -- only the first time a command was issued.)
It's a bug in the memory allocator; it's been fixed in build 38.

Rex Conn
JP Software
 
May 20, 2008
3,515
3
Elkridge, MD, USA
Alias Load Failure with Version 10

rconn wrote:
| vefatica wrote:
|
|
| ---Quote---
|| I use global lists. MEMORY reports
||
|| 262,144 characters total alias
|| 261,466 characters free
||
|| 131,072 characters total function
|| 131,019 characters free
||
|| These are both twice the values mentioned in limitations.htm and
|| alias.htm.
||
|| Do we have any control over the size of global alias and function
|| lists?
| ---End Quote---
| You cannot specify the initial size, and you cannot resize global
| lists.

Why?

I seem to recall that global list allocations are nominal, as they use their
total allocated sizes in virtual address space, but those pages which are
completely free never actually use physical storage, so in Vince's above
case aliases and functions would each have only 1 page of physical memory.
Is this correct?

BTW, my own global tables are substantially bigger (see below), but I'd
never had storage allocation problems.

262,144 characters total alias
212,622 characters free

131,072 characters total function
124,956 characters free

--
Steve
 
Jun 2, 2008
298
1
Newton, MA
Alias Load Failure with Version 10

> It's a bug in the memory allocator; it's been fixed
> in build 38.

Excellent!

Now it would be nice if you could figure out (and fix) why F6 does not
bring up the directory history under WinXP. Or did one of the many
messages I missed have a solution to that problem?

-- Jay
 

rconn

Administrator
Staff member
May 14, 2008
11,459
110
Alias Load Failure with Version 10

Steve Fábián wrote:

> rconn wrote:
> | vefatica wrote:
> |
> |
> | ---Quote---
> || I use global lists. MEMORY reports
> ||
> || 262,144 characters total alias
> || 261,466 characters free
> ||
> || 131,072 characters total function
> || 131,019 characters free
> ||
> || These are both twice the values mentioned in limitations.htm and
> || alias.htm.
> ||
> || Do we have any control over the size of global alias and function
> || lists?
> | ---End Quote---
> | You cannot specify the initial size, and you cannot resize global
> | lists.
>
> Why?
Windows limitation.


> I seem to recall that global list allocations are nominal, as they use their
> total allocated sizes in virtual address space, but those pages which are
> completely free never actually use physical storage, so in Vince's above
> case aliases and functions would each have only 1 page of physical memory.
> Is this correct?
Yes, though it's irrelevant unless you're still running a 32Mb system ...

Rex Conn
JP Software
 
May 20, 2008
9,910
71
Syracuse, NY, USA
Alias Load Failure with Version 10

On Sun, 18 Jan 2009 18:48:17 -0600, Steve Fábián <> wrote:


>I seem to recall that global list allocations are nominal, as they use their
>total allocated sizes in virtual address space, but those pages which are
>completely free never actually use physical storage, so in Vince's above
>case aliases and functions would each have only 1 page of physical memory.
>Is this correct?
I think so (we'll see what Rex says). The global lists are views of memory
mapped files backed up by the page file. I suppose that TCC doesn't try to
access anything beyond my few aliases (their end marked with a double NUL) and
that consequently Windows doesn't commit more pages that it needs to.
 
Jun 2, 2008
298
1
Newton, MA
Alias Load Failure with Version 10

Rex,

Do you plan to do anything about the memory assigned for local aliases
and functions? I'm running build 38, and with the local aliases option
checked, TCC bombs.

The help file on limitations gives figures for global values but says
nothing about local values. I would certainly like to see more than 16K.

-- Jay
 

rconn

Administrator
Staff member
May 14, 2008
11,459
110
Alias Load Failure with Version 10

Jay Sage wrote:

> Rex,
>
> Do you plan to do anything about the memory assigned for local aliases
> and functions? I'm running build 38, and with the local aliases option
> checked, TCC bombs.
>
> The help file on limitations gives figures for global values but says
> nothing about local values. I would certainly like to see more than 16K.
I have no problems with a 100K alias file and local aliases with build 38.

Email me your alias file.

Rex Conn
JP Software