How to release memory in RogueWave.

How to release memory in RogueWave.

Post by Jun Don » Tue, 15 Aug 2000 04:00:00



I currently encountered the problem in RogueWave/C++.  When I tried to delete a RWHashDictionary array and re-create it about 6 times in a loop memory fault would occurred. It seems to me that I used "delete" to delete the RW object will not free the memory correctly.

Anyone know about this??

Thanks ...

--
+----------------------------------------------------------------------+

|  Syndesis Limited                  Tel:   (+1 905)886-7818 Ext.2510  |
|  30 Fulton Way                     Fax:   (+1 905)886-9076           |

|  http://www.syndesis.com                                             |
+----------------------------------------------------------------------+

 
 
 

How to release memory in RogueWave.

Post by Fletcher Glen » Tue, 15 Aug 2000 04:00:00


Are you executing the method clearAndDestroy() before you
delete the RWHashDictionary?

--
                Fletcher Glenn


> I currently encountered the problem in RogueWave/C++.  When I tried to delete a RWHashDictionary array and re-create it about 6 times in a loop memory fault would occurred. It seems to me that I used "delete" to delete the RW object will not free the memory correctly.

> Anyone know about this??

> Thanks ...

> --
> +----------------------------------------------------------------------+

> |  Syndesis Limited                  Tel:   (+1 905)886-7818 Ext.2510  |
> |  30 Fulton Way                     Fax:   (+1 905)886-9076           |

> |  http://www.syndesis.com                                             |
> +----------------------------------------------------------------------+


 
 
 

How to release memory in RogueWave.

Post by Jun Don » Wed, 16 Aug 2000 04:00:00


I tried this but if I did this it would crash.  BTW I applied the Solaris 2.6 Patch 105591-09.

Thanks...


> Are you executing the method clearAndDestroy() before you
> delete the RWHashDictionary?

> --
>                 Fletcher Glenn


> > I currently encountered the problem in RogueWave/C++.  When I tried to delete a RWHashDictionary array and re-create it about 6 times in a loop memory fault would occurred. It seems to me that I used "delete" to delete the RW object will not free the memory correctly.

> > Anyone know about this??

> > Thanks ...

+----------------------------------------------------------------------+

|  Syndesis Limited                  Tel:   (+1 905)886-7818 Ext.2510  |
|  30 Fulton Way                     Fax:   (+1 905)886-9076           |

|  http://www.syndesis.com                                             |
+----------------------------------------------------------------------+
 
 
 

How to release memory in RogueWave.

Post by avalo.. » Wed, 16 Aug 2000 04:00:00



> Are you executing the method clearAndDestroy() before you delete the
> RWHashDictionary?

Shouldn't the object's destructor catch a situation like that and take
care of it automatically?  Call me crazy, but I'd think that would be
logical.

--
----------------------------------------------------------------------

Software Developer  //  Gamer  //  Webmaster  //  System Administrator
      -= We are dyslexic of Borg - Your ass will be laminated =-

 
 
 

How to release memory in RogueWave.

Post by Fletcher Glen » Sat, 19 Aug 2000 04:00:00




> > Are you executing the method clearAndDestroy() before you delete the
> > RWHashDictionary?

> Shouldn't the object's destructor catch a situation like that and take
> care of it automatically?  Call me crazy, but I'd think that would be
> logical.

> --
> ----------------------------------------------------------------------

> Software Developer  //  Gamer  //  Webmaster  //  System Administrator
>       -= We are dyslexic of Borg - Your ass will be laminated =-

Not necessarily.  It should not be up to the container to
destroy the contents, because the contents might be in
several containers at the same time.

--
                Fletcher Glenn

 
 
 

1. OpenServer Release 5 competitive trade-ins

At SCO Forum this week, I asked some of our sales people to explain our
"competitive trade-in" programs.  Here's what I learned.

This is absolutely unofficial and I might have completely misunderstood
part of it.  Your milage may vary, etc.

"Competitive trade-ins" are trade-in offers for competing Unix products.
They are offered for any Intel Unix based on AT&T/USL System V code
(e.g.  Interactive Unix, Microport System V/AT, Novell UnixWare, Solaris
x86, etc.)  I don't know if we would consider non-Intel or non-SysV
products.  Also, "competitive trade-in" is the only upgrade path from
older SCO products: pre-2.3 SCO XENIX releases, 286 XENIX releases, and
possibly pre-2.0 ODT/pre-3.2v4.0 Unix releases.

Two trade-ins are offered: for $444(*), to SCO OpenServer Release 5 Host
System 5-user; for $777(*), to SCO OpenServer Release 5 Enterprise
System.

(*)A bunch of notes about pricing:

  o They're US prices, international prices (and policies?) *will* vary

  o Prices *are* discountable if you are a dealer, distributor etc.

  o I don't know whether they include SCO SES (Software Enhancement
    Service)

  o I don't know if media charges are extra

  o Printed doc charges are almost certainly extra (as with standard
    Open Server Release 5, all docs are provided online, printed are
    extra)

  o The usual complex pricing system for additional users, add-on
    layered products, etc. applies

  o I might have misunderstood the prices

"Contact your reseller or SCO for more information"

2. Adding LOCAL newsgroups only?

3. xlC, templates, and RogueWave

4. PCI startup problem

5. RogueWave : Trouble with RWTPtrOrderedVector

6. Disk crashed

7. RogueWave core dump during _init()

8. How can I speed up X86 on a Pentium

9. BTreeOnDisk/RogueWave Lib 7/Sun Workshop 4.2

10. Threads don't release memory

11. Building RogueWave libraries using g++

12. Memory not being released on Solaris 2.5.1

13. Sol 2.6: RogueWave Tools.h++ & SC 4.2...