MOA sizeofag not calculate memory measure

29 views
Skip to first unread message

Asmaa

unread,
Apr 25, 2022, 3:11:18 PM4/25/22
to MOA development
Hello 
when run moa to concept drift tab to result from dataset
the memory measure is not calculated 
can please help me 
2021.7 output - memory.PNG

Asmaa

unread,
Apr 25, 2022, 4:23:18 PM4/25/22
to MOA development
also, i have this message in running output

Please check if jar file containing SizeOfAgent class is
specified in the java's "-javaagent" command line argument.

Peter Reutemann

unread,
Apr 25, 2022, 4:59:45 PM4/25/22
to MOA-dev List
> also, i have this message in running output
>
> Please check if jar file containing SizeOfAgent class is
> specified in the java's "-javaagent" command line argument.

Based on this message, you don't seem to have included the sizeofag
jar (or a wrong path) in the command-line starting up the JVM.
The batch file/shell script that start up MOA (eg the ones from a
release or snapshot) show you how to include the sizeofag jar file
which gives you the memory computation.

Cheers, Peter
--
Peter Reutemann
Dept. of Computer Science
University of Waikato, NZ
+64 (7) 858-5174 (office)
+64 (7) 577-5304 (home office)
https://www.cs.waikato.ac.nz/~fracpete/
http://www.data-mining.co.nz/

Asmaa

unread,
Apr 25, 2022, 6:18:37 PM4/25/22
to MOA development
many thanks for reply
what correct path to put the jar file of sizeofag in it 

Peter Reutemann

unread,
Apr 25, 2022, 6:28:45 PM4/25/22
to MOA-dev List
> what correct path to put the jar file of sizeofag in it

Wherever the sizeofag jar file is located on your system. The simplest
is to start with an absolute path.

BTW You haven't mentioned what OS or Java version your are using.
Reply all
Reply to author
Forward
0 new messages