Solved

Out of memory message

Posted on 2003-11-24
5
370 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

829 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