RE: [U2] [UV] How far can STR1 := SPACE(1000000) grow?

2004-11-23 Thread Wendy Smoak
Ken wrote:
> No Wendy - you cheated and used UniData where variable space
> is allocated (and garbage collected) from shared memory by smm which
means
> that you can tune this sort of thing in udtconfig.

Sorry, I didn't see the [UV] in the subject line!  It's amazing how
similar these two are at the colon prompt, yet how different
underneath...

-- 
Wendy Smoak
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] How far can STR1 := SPACE(1000000) grow?

2004-11-22 Thread Marco Manyevere
Thanks guys for all the responses. Can someone tell me why I'm getting a 
miserly 30MB on a system with 8Gb. Anyone try this on unixware or sco 
openserver? If you get anything different for unixware/sco, please I want to 
know how your system is configured.

"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:Wendy Smoak wrote:

> 1036 STR1 SIZE = 103600
> 
> Error when creating a shared memory segment
> (size=1166625024), errno=22
> 
> Do I win???

No Wendy - you cheated and used UniData where variable space
is allocated (and
garbage collected) from shared memory by smm which means
that you can tune this
sort of thing in udtconfig.

On UniVerse variable space is malloc()ed (or an equivalent)
so:
1) the limits are different - probably kernel or maybe
ulimit
based on UNIX; and
2) there is a further issue that after you've created this
large variable,
you may get strange behaviour out of other code which
normally works fine because
you've already used up the memory available to you from the
heap.

Cheers,

Ken
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/



-
Win a castle  for NYE with your mates and Yahoo! Messenger 
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] How far can STR1 := SPACE(1000000) grow?

2004-11-22 Thread [EMAIL PROTECTED]
Wendy Smoak wrote:

> 1036 STR1 SIZE = 103600
> 
> Error when creating a shared memory segment
> (size=1166625024), errno=22
> 
> Do I win???

No Wendy - you cheated and used UniData where variable space
is allocated (and
garbage collected) from shared memory by smm which means
that you can tune this
sort of thing in udtconfig.

On UniVerse variable space is malloc()ed (or an equivalent)
so:
1) the limits are different - probably kernel or maybe
ulimit
based on UNIX; and
2) there is a further issue that after you've created this
large variable,
you may get strange behaviour out of other code which
normally works fine because
you've already used up the memory available to you from the
heap.

Cheers,

Ken
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Unclassified RE: [U2] [UV] How far can STR1 := SPACE(1000000) grow?

2004-11-22 Thread HENDERSON MICHAEL MR
Windows 2003 Server / UV 10.0.15 / 1GB RAM:-
428 STR1 SIZE = 42800
429 STR1 SIZE = 42900
430 STR1 SIZE = 43000
[: remote disconnect]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wendy Smoak
Sent: Tuesday, 23 November 2004 07:18
To: [EMAIL PROTECTED]
Subject: RE: [U2] [UV] How far can STR1 := SPACE(100) grow?

Dean Fox wrote:
> Mine is bigger. WooHoo!
> 
> 510 STR1 SIZE = 51000
> 511 STR1 SIZE = 51100
> Available Memory Exceeded
> Abort(coredump)
> 
> Sorry, it's early on a Monday.

1036 STR1 SIZE = 103600

Error when creating a shared memory segment (size=1166625024), errno=22


Do I win???

--
Wendy Smoak
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] How far can STR1 := SPACE(1000000) grow?

2004-11-22 Thread Wendy Smoak
Dean Fox wrote:
> Mine is bigger. WooHoo!
> 
> 510 STR1 SIZE = 51000
> 511 STR1 SIZE = 51100
> Available Memory Exceeded
> Abort(coredump)
> 
> Sorry, it's early on a Monday.

1036 STR1 SIZE = 103600

Error when creating a shared memory segment (size=1166625024), errno=22


Do I win???

-- 
Wendy Smoak
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] How far can STR1 := SPACE(1000000) grow?

2004-11-22 Thread Dean Fox
Mine is bigger. WooHoo!

510 STR1 SIZE = 51000
511 STR1 SIZE = 51100
Available Memory Exceeded
Abort(coredump)

Sorry, it's early on a Monday.

-[d]-

-Original Message-
From: Marco Manyevere [mailto:[EMAIL PROTECTED]
Sent: Monday, November 22, 2004 3:44 AM
To: [EMAIL PROTECTED]
Subject: [U2] [UV] How far can STR1 := SPACE(100) grow?


Please try the following on your server and find out how far you can go
before malloc fails.

On my Unixware server with 8Gb RAM, I can only go as far as 24 to 30 MB
before the process fails with 'Available memory exceeded'.  Running 'sar -r'
at the Unix prompt shows me over 3 Gig of RAM is still free. Are there any
parameters I can change to increase the limit?

On my XP latop with 512MB RAM, I can run the program upto 250MB then it
begins to really crawl, taking upto 15 seconds to go through the loop.

BLOCK = SPACE(100)
STR1 = ''
FOR I = 1 TO 100
   STR1 := BLOCK
   PRINT I:' STR1 SIZE = ':100*I
NEXT

RETURN
END






-
 ALL-NEW Yahoo! Messenger - all new features - even more fun!  
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV] How far can STR1 := SPACE(1000000) grow?

2004-11-22 Thread Mats Carlid
255MB  on  uv 10.0.8  on a sun solaris sparc  "netra"  w  512MB memory
- it was quite fast  except a few hangs ( caused by  garbage collect?)
until it died with Available memory exceeded,
-- mats
Marco Manyevere wrote:
Please try the following on your server and find out how far you can go before 
malloc fails.
On my Unixware server with 8Gb RAM, I can only go as far as 24 to 30 MB before 
the process fails with 'Available memory exceeded'.  Running 'sar -r' at the 
Unix prompt shows me over 3 Gig of RAM is still free. Are there any parameters 
I can change to increase the limit?
On my XP latop with 512MB RAM, I can run the program upto 250MB then it begins 
to really crawl, taking upto 15 seconds to go through the loop.
BLOCK = SPACE(100)
STR1 = ''
FOR I = 1 TO 100
  STR1 := BLOCK
  PRINT I:' STR1 SIZE = ':100*I
NEXT
RETURN
END
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/