Solved

Out of memory message

Posted on 2003-11-24
5
369 Views
Last Modified: 2010-05-01
I am using the VB editor that is included in Reflections to create a better interface.  Some of my users are getting an error message that simply states "Out of Memory" I am trying to clarify is this referring to the physical memory in the machine, or is there something that I am doing wrong in the coding that would cause this.  Thanks!
0
Comment
Question by:gideonn
  • 2
  • 2
5 Comments
 
LVL 10

Expert Comment

by:ADSaunders
ID: 9810355
Hi stewartje,
>My company is using the Firebox III 700.  I have never used it before.  
> How can I tell what users are doing?  
You can only tell what users are doing if they log in to the firebox security using the supplied java app. Then you can simply watch the firebox logs.
> My boss is concerned with the security.  
> Can I show him something that would indicate I am blocking the bad traffic?
Yes, run any of the log reports and print it for him.
> Can I administer this box from home using the control center software?  Or is there a better way.
Yeeesss?? But you'll be controlling a security gateway from it's untrusted network! That is if you are doing it over the Internet as opposed to a dedicated dial-in circuit.
> Does anyone know how to setup VPN with it.
Noooo.. not exactly, we needed to be shown by the support guys who installed it. we got all our requred vpns set up then. Could be asking the same question if we get a new employee requiring vpn access.

Cheers! Alan
0
 
LVL 1

Author Comment

by:gideonn
ID: 9810367
What?
0
 
LVL 10

Expert Comment

by:ADSaunders
ID: 9810380
Sorry Gideonn, was trying out quickpost, and it changed the message focus whilst I was entering my reply. It got attached to the wrong question.

.. Alan
0
 
LVL 1

Author Comment

by:gideonn
ID: 9810399
No biggie, just wasn't sure what was going on.
0
 
LVL 4

Accepted Solution

by:
Clothahump earned 250 total points
ID: 9813308
Gideonn, your problem could be a combination of both physical memory lack and coding problems.

Make sure your app specifically declares variables instead of using variants.  For example, if variable iCount is to be used as an integer, declare it so:

dim iCount as Integer

as opposed to
dim iCount

The second way will declare it as a variant and eat 8 bytes instead of 2.  Also, if you create an object, make sure you get rid of it.  For example, if you open a recordset:

dim RStest as new Adodb.Recordset
dim SQL as String
....
SQL = "select * from blahblah,etc."
call setRS(RStest,SQL)  ' I use a common function to open all recordsets - makes error trapping a lot easier

' before exiting
set rsTest = nothing
exit Sub

That sort of thing will really help manage spurious memory usage.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question