Re: Java high memory question



On Fri, 7 Dec 2007 14:42:44 UTC, Mike Luther <mike.luther@xxxxxxxxxx>
wrote:

AHA! That may be why when I tested this today trying to clean up HEAP FULL
errors in total scans with NORMAN 5.8 latest everything, I got no change for a
CONFIG.SYS setting of VIRTUALADDRESSLIMIT=1024.

There is only ONE cure for HEAP FULL, in NVC. Quit using it. There is
a basic problem with the program, and NORMAN has declined to develop
the OS/2 version further, to fix problems. I have had to quit using
NVC altogether because of that sort of nonsense.
VIRTUALADDRESSLIMIT=1536 seems to be optimal, but it doesn't fix
anything, it simply makes the problem happen less often. I have
installed ClamAV in it's place, but the documentation abbout how to
actually use ClamAV is pathertic, at best (typical *NIX crap, with too
many, totally useless, command line parameters, most of which don't
make sense). On the other hand, it does seem to actually work, once
you figure it out, although I have, yet, to see it trap a virus (my
ISP filters those things out, before they get to me).

Briefly, what I did, was:
Get CalmAV from HOBBES:

http://hobbes.nmsu.edu/pub/os2/util/virus/clamav-0_91_2-os2.wpi

Install it.
Make a shadow of the ClamAV daemon in the Startup folder.
Make program icon for Freshclam:
Path and file name = <path to>\Freshclam.exe
Parameters = --config-file=../etc/freshclamdb.conf
Working directory = <path to executables>

I then copied ..\etc\freshclam.conf to ..\freshclam\freshclamdb.conf
(Note the forward slashes in the parameters field). Then, I edited
freshclamdb.conf to make a log file, and reflect the proper
DatabaseMirror server for my country, and I turned on the NotifyClamd
setting. Then, I use the scheduler feature of DragText, to run that
every 4 hours (set the time so it is not on the hour, or half hour,
where a LOT of people put it). Now, when Freshclam runs, it should
download updates, abd tell the daemon that they are ready. The daemon,
in turn, will load up the new information.

Okay, now we have the base running. Chances are, that you will want to
manually run a scan on drives, folders, or files, on demand. Make
another program icon, for ClamDscan:
Path and file name = <path to>\ClamDscan.exe
Parameters = -v --config-file=../etc/clamddb.conf -l
../Logs/ClanDscan.log -m
Working directory = <path to executables>

Again, note the forward slashes. In the Session tab, turn OFF, Close
window on exit (so you can see the results, before closing he window).

Now, comes the tricky part. First, find the Text Editor icon (usually
in Programs-> Utilities), add an association to that icon, with "*"
(without the quotes) That will make the Text Editor be the an
associated program for EVERY file (I know that it is already the
default, but when you do the next step, that gets broken). Now, do the
same association with the ClamDscan icon, which adds that to the list.
Now, if you right mouse click on ANY file icon, and select the arrow
beside Open As, one of the options is ClamDscan. It should not be the
default. use AssocEdit to fix that problem, if it happens.

Okay, that does individual files, but you also want to be able to do
folders, and whole drives. This trick works in eCS (at least in v 1.2,
and up). Find the Extended Menu options folder. That should be in
System Setup, or System Setp-> Appearance. Then, make a shadow of the
ClamDscan program in there. Now, when you right mouse click on a
drive, or folder, one of the options is ClamDscan.

Hope that helps...
--
From the eComStation 2.0 RC2 of Doug Bissett
dougb007 at telus dot net
(Please make the obvious changes, to e-mail me)

.



Relevant Pages

  • Re: del ini file
    ... But only as the PATH to the icon for the Favorites folder... ... icon for the folder, set this entry to the icon's file name. ... IconIndex=n Set this entry to specify the index for a custom icon. ... How to Change the Default Icons for Folders in Windows XP ...
    (microsoft.public.windowsxp.general)
  • Re: Search Result View
    ... I changed to Detail view, and noticed that GIF files in TIF ... icon, but all other gif files have the ordinary gif icon in the Search ... Likewise in List, Icons, and Tiles view. ... I opened the Temporary Internet Files folder, ...
    (microsoft.public.windowsxp.general)
  • Re: Finding the Control Panel Applets With Change Icon Dialogue Box
    ... NSE all have the string ShellFolder under there key. ... > the Desktop, Fonts, Schedule Tasks, & Network ... Folder Options (and the desktop IE icon) is a seperate type ... There is no My Computer Folder but their is code in shell32 that looks ...
    (microsoft.public.windowsxp.customize)
  • Re: Finding the Control Panel Applets With Change Icon Dialogue Box
    ... It is a Namespace Extension (NSE) like My Computer, ... Folder Options (and the desktop IE icon) is a seperate type ... Control Panel, and most of the ones I mention, are in Shell32.dll. ... There is no My Computer Folder but their is code in shell32 that looks ...
    (microsoft.public.windowsxp.customize)