Fresh installed HMAIL server runs out of memory.

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
Post Reply
Marc H
New user
New user
Posts: 9
Joined: 2014-02-02 03:08

Fresh installed HMAIL server runs out of memory.

Post by Marc H » 2019-01-28 03:15

Last thursday I installed a new Hmail server, but it keeps running out of memory. Used Mailstore to retreive all the mail from the previous, antique HMAIL instalation and restored the mailboxes on the new server.

Specifications:
Server: i5-4440 CPU, 8 GB ram, Sata 250 GB SSD. The host is a 2016 std. server, running a Windows 10 home Hyper-V with the mailserver installed. The virtual machine has 3 GB ram fixed assigned.
Installed Hmail: 5.6.7-B2425, MSSQL CE.
Number of mailboxes: 12, of 4 Domains.
Mailbox sizes: 6 less than 100 MB, 250 MB, 450 MB, 1200 MB, 3400 MB, 3500 MB, 6500 MB and 12500 MB
Mail: The biggest two recieve and send at the most 100 mails a day total, mostly text, some have small attachments. The other mailboxes recieve and send no more than 20 mails a day.

The mailserver uses POP to query mailboxes for new mails regularly (the large ones every two minutes, the others every 5 minutes), the clients use Outlook (gigabit wired) and Android Phones (Wifi / 4G).
The server is onsite.

I'm gettin these errors in my logfile:
"APPLICATION" 3460 "2019-01-27 20:37:03.518" "OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"APPLICATION" 3460 "2019-01-27 20:37:03.518" "OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"APPLICATION" 3460 "2019-01-27 20:37:03.518" "OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"ERROR" 3460 "2019-01-27 20:37:03.518" "Severity: 2 (High), Code: HM4208, Source: File::ReadFile(), Description: An error occured when reading file., Message: bad allocation"
"ERROR" 3460 "2019-01-27 20:37:03.518" "Severity: 3 (Medium), Code: HM4227, Source: File::ReadFile, Description: An unknown error occurred while reading file from disk."
"ERROR" 3460 "2019-01-27 20:37:03.518" "Severity: 3 (Medium), Code: HM5042, Source: File::ReadTextFile, Description: An unknown error occurred while reading a text file from disk."
"ERROR" 3460 "2019-01-27 20:37:03.518" "Severity: 1 (Critical), Code: HM5062, Source: IMAPFetch::ReportCriticalError_, Description: ERROR HM10001 - IMAP FETCH: Error when loading MIME message. - C:\Program Files (x86)\hMailServer\Data\XXXXXXXXXXXXXXXXXXXX\B4\{B42B4C5B-8253-463B-8F3D-15C8056434B7}.eml"
"APPLICATION" 3460 "2019-01-27 20:37:03.518" "OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"APPLICATION" 3460 "2019-01-27 20:37:03.518" "OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"ERROR" 3460 "2019-01-27 20:37:03.518" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data length: 69, Data: wmwb UID FETCH 21:97 (UID FLAGS RFC822.SIZE BODY.PEEK[] INTERNALDATE). Remote IP: 80.100.143.66"
"DEBUG" 3460 "2019-01-27 20:37:03.518" "Ending session 1039"
"ERROR" 3460 "2019-01-27 20:37:03.518" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask', Message: bad allocation"
"DEBUG" 3460 "2019-01-27 20:37:03.518" "Logging exception.."
"DEBUG" 3508 "2019-01-27 20:37:03.534" "Creating session 1047"
"DEBUG" 3508 "2019-01-27 20:37:03.534" "TCP connection started for session 1046"
"DEBUG" 3484 "2019-01-27 20:37:03.565" "Reading messages from database."
"DEBUG" 3508 "2019-01-27 20:37:03.706" "Reading messages from database."
"DEBUG" 3516 "2019-01-27 20:37:04.159" "Reading messages from database."
"DEBUG" 3516 "2019-01-27 20:37:04.596" "Reading messages from database."
"DEBUG" 3492 "2019-01-27 20:37:04.893" "Reading messages from database."
"APPLICATION" 3484 "2019-01-27 20:37:04.940" "OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"APPLICATION" 3484 "2019-01-27 20:37:04.940" "OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"APPLICATION" 3484 "2019-01-27 20:37:04.940" "OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"ERROR" 3484 "2019-01-27 20:37:04.940" "Severity: 2 (High), Code: HM4208, Source: File::ReadFile(), Description: An error occured when reading file., Message: bad allocation"
"ERROR" 3484 "2019-01-27 20:37:04.940" "Severity: 3 (Medium), Code: HM4227, Source: File::ReadFile, Description: An unknown error occurred while reading file from disk."
"ERROR" 3484 "2019-01-27 20:37:04.940" "Severity: 3 (Medium), Code: HM5042, Source: File::ReadTextFile, Description: An unknown error occurred while reading a text file from disk."
"ERROR" 3484 "2019-01-27 20:37:04.940" "Severity: 1 (Critical), Code: HM5062, Source: IMAPFetch::ReportCriticalError_, Description: ERROR HM10001 - IMAP FETCH: Error when loading MIME message. - C:\Program Files (x86)\hMailServer\Data\XXXXXXXXXXXXXXXXXXXX\79\{79939860-1D80-4A83-B39E-94FB1A4C2E08}.eml"
"APPLICATION" 3484 "2019-01-27 20:37:04.940" "OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"APPLICATION" 3484 "2019-01-27 20:37:04.940" "OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"ERROR" 3484 "2019-01-27 20:37:04.940" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data length: 144, Data: 6kna UID FETCH 233:242,244:419,421:721,723:727,729:786,788:789,791:860,862:868,870:877,879:1115 (UID FLAGS RFC822.SIZE BODY.PEEK[] INTERNALDATE). Remote IP: 80.100.143.66"
"DEBUG" 3484 "2019-01-27 20:37:04.940" "Ending session 1046"
"ERROR" 3484 "2019-01-27 20:37:04.940" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask', Message: bad allocation"
"DEBUG" 3484 "2019-01-27 20:37:04.956" "Logging exception.."
"DEBUG" 3508 "2019-01-27 20:37:05.018" "Creating session 1048"
"DEBUG" 3508 "2019-01-27 20:37:05.049" "TCP connection started for session 1047"
"DEBUG" 3488 "2019-01-27 20:37:05.424" "Reading messages from database."
"DEBUG" 3512 "2019-01-27 20:37:05.534" "Reading messages from database."
"DEBUG" 3500 "2019-01-27 20:37:05.534" "Reading messages from database."
"DEBUG" 3512 "2019-01-27 20:37:05.674" "Reading messages from database."
"DEBUG" 3512 "2019-01-27 20:37:05.690" "Reading messages from database."
"DEBUG" 3512 "2019-01-27 20:37:05.784" "Reading messages from database."
"APPLICATION" 3488 "2019-01-27 20:37:05.815" "OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"APPLICATION" 3488 "2019-01-27 20:37:05.815" "OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"APPLICATION" 3488 "2019-01-27 20:37:05.815" "OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"ERROR" 3488 "2019-01-27 20:37:05.815" "Severity: 2 (High), Code: HM4208, Source: File::ReadFile(), Description: An error occured when reading file., Message: bad allocation"
"ERROR" 3488 "2019-01-27 20:37:05.815" "Severity: 3 (Medium), Code: HM4227, Source: File::ReadFile, Description: An unknown error occurred while reading file from disk."
"ERROR" 3488 "2019-01-27 20:37:05.815" "Severity: 3 (Medium), Code: HM5042, Source: File::ReadTextFile, Description: An unknown error occurred while reading a text file from disk."
"ERROR" 3488 "2019-01-27 20:37:05.815" "Severity: 1 (Critical), Code: HM5062, Source: IMAPFetch::ReportCriticalError_, Description: ERROR HM10001 - IMAP FETCH: Error when loading MIME message. - C:\Program Files (x86)\hMailServer\Data\XXXXXXXXXXXXXXXXXXXX\A8\{A8CDA403-B5A1-497C-9002-BFB3C6CBA639}.eml"
"APPLICATION" 3488 "2019-01-27 20:37:05.831" "OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"APPLICATION" 3488 "2019-01-27 20:37:05.831" "OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"ERROR" 3488 "2019-01-27 20:37:05.831" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data length: 71, Data: xtf2 UID FETCH 118:503 (UID FLAGS RFC822.SIZE BODY.PEEK[] INTERNALDATE). Remote IP: 80.100.143.66"
"DEBUG" 3488 "2019-01-27 20:37:05.831" "Ending session 1047"
"ERROR" 3488 "2019-01-27 20:37:05.831" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask', Message: bad allocation"
"DEBUG" 3488 "2019-01-27 20:37:05.831" "Logging exception.."
"DEBUG" 3508 "2019-01-27 20:37:05.846" "Creating session 1049"
"DEBUG" 3508 "2019-01-27 20:37:05.971" "TCP connection started for session 1048"
"DEBUG" 3508 "2019-01-27 20:37:06.034" "Reading messages from database."
"DEBUG" 3500 "2019-01-27 20:37:06.206" "Reading messages from database."
"ERROR" 3460 "2019-01-27 20:37:06.221" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\Program Files (x86)\hMailServer\Logs\minidump_2019-01-27 203703_{1EEC7038-9253-4BF4-9A62-AA6DDD62A54D}.dmp"
"DEBUG" 3460 "2019-01-27 20:37:06.221" "Completed logging of exception..."
"DEBUG" 3484 "2019-01-27 20:37:06.221" "Minidump creation aborted. The max count (10) is reached and no log is older than 4 hours."
"DEBUG" 3484 "2019-01-27 20:37:06.221" "Completed logging of exception..."
"DEBUG" 3488 "2019-01-27 20:37:06.221" "Minidump creation aborted. The max count (10) is reached and no log is older than 4 hours."
"DEBUG" 3488 "2019-01-27 20:37:06.221" "Completed logging of exception..."
"APPLICATION" 3488 "2019-01-27 20:37:07.330" "OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"APPLICATION" 3488 "2019-01-27 20:37:07.346" "OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"APPLICATION" 3488 "2019-01-27 20:37:07.346" "OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"ERROR" 3488 "2019-01-27 20:37:07.346" "Severity: 2 (High), Code: HM4208, Source: File::ReadFile(), Description: An error occured when reading file., Message: bad allocation"
"ERROR" 3488 "2019-01-27 20:37:07.346" "Severity: 3 (Medium), Code: HM4227, Source: File::ReadFile, Description: An unknown error occurred while reading file from disk."
"ERROR" 3488 "2019-01-27 20:37:07.346" "Severity: 3 (Medium), Code: HM5042, Source: File::ReadTextFile, Description: An unknown error occurred while reading a text file from disk."
"ERROR" 3488 "2019-01-27 20:37:07.346" "Severity: 1 (Critical), Code: HM5062, Source: IMAPFetch::ReportCriticalError_, Description: ERROR HM10001 - IMAP FETCH: Error when loading MIME message. - C:\Program Files (x86)\hMailServer\Data\XXXXXXXXXXXXXXXXXXXX\E3\{E36491AD-349D-4EC2-9728-E2EE2315719B}.eml"
"APPLICATION" 3488 "2019-01-27 20:37:07.346" "OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"APPLICATION" 3488 "2019-01-27 20:37:07.346" "OutOfMemoryHandler - hMailServer has run out of memory, clearing caches."
"ERROR" 3488 "2019-01-27 20:37:07.361" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data length: 195, Data: 664h UID FETCH 22615:23847,23866:23867,23869:23871,23873,23875,23878:23879,23895,23898,23900,23902:23953,23991,23994:23995,23997,24022,24039,24041 (UID FLAGS RFC822.SIZE BODY.PEEK[] INTERNALDATE). Remote IP: 80.100.143.66"
"DEBUG" 3488 "2019-01-27 20:37:07.393" "Ending session 1044"
"ERROR" 3488 "2019-01-27 20:37:07.393" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask', Message: bad allocation"
"DEBUG" 3488 "2019-01-27 20:37:07.393" "Logging exception.."
"DEBUG" 3488 "2019-01-27 20:37:07.393" "Minidump creation aborted. The max count (10) is reached and no log is older than 4 hours."
"DEBUG" 3488 "2019-01-27 20:37:07.393" "Completed logging of exception..."
"DEBUG" 3508 "2019-01-27 20:37:07.408" "Creating session 1050"
"DEBUG" 3508 "2019-01-27 20:37:07.424" "TCP connection started for session 1049"
"DEBUG" 3496 "2019-01-27 20:37:07.627" "Reading messages from database."
"DEBUG" 3332 "2019-01-27 20:37:12.049" "Adding task ExternalFetchTask to work queue External fetch queue"
"DEBUG" 3332 "2019-01-27 20:37:12.065" "Adding task ExternalFetchTask to work queue External fetch queue"
"DEBUG" 3432 "2019-01-27 20:37:12.065" "Executing task ExternalFetchTask in work queue External fetch queue"
"DEBUG" 3432 "2019-01-27 20:37:12.065" "Retrieving messages from external account xs4all"

XXXXXXXXXXXXXXXXXXXX = removed for privacy.

Why am i getting these errors and what can i do against them?
Attachments
minidump.zip
(101.89 KiB) Downloaded 27 times

User avatar
mattg
Moderator
Moderator
Posts: 20239
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Fresh installed HMAIL server runs out of memory.

Post by mattg » 2019-01-28 03:40

Run this and post the results

http://www.hmailserver.com/forum/viewto ... 20&t=30914


Which data base are you using
Which Antivirus are you running
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

Marc H
New user
New user
Posts: 9
Joined: 2014-02-02 03:08

Re: Fresh installed HMAIL server runs out of memory.

Post by Marc H » 2019-01-28 20:49

Antivirus: McAfee Livesafe.
Database: The included MS SQL CE


Here is the result:

Code: Select all

2019-01-28   Hmailserver: 5.6.7-B2425

DOMAINS

   "Domain1.com" - blxxxxxxxxxxxxxxxxxxxxx.com    Enabled: True

SIGNATURE         LIMITS                       DKIM               ADVANCED
  Enabled: False   Max size:                0   Enabled: False   
                   Max message size:        0                      Plus addressing: False
                   Max size of accounts:    0                    
                                                                   Greylisting:     False

   "Domain2.com" - mixxxxxxxxx.nl                 Enabled: True

SIGNATURE         LIMITS                       DKIM               ADVANCED
  Enabled: False   Max size:                0   Enabled: False   
                   Max message size:        0                      Plus addressing: False
                   Max size of accounts:    0                    
                                                                   Greylisting:     False

   "Domain3.com" - w2xxxxxxxxx.com                Enabled: True

SIGNATURE         LIMITS                       DKIM               ADVANCED
  Enabled: False   Max size:                0   Enabled: False   
                   Max message size:        0                      Plus addressing: False
                   Max size of accounts:    0                    
                                                                   Greylisting:     False

   "Domain4.com" - xsxxxx.nl                      Enabled: True

SIGNATURE         LIMITS                       DKIM               ADVANCED
  Enabled: False   Max size:                0   Enabled: False   
                   Max message size:        0                      Plus addressing: False
                   Max size of accounts:    0                    
                                                                   Greylisting:     False
-----------------------------------------------------------------------------------------------

IP RANGES

IP: 127.0.0.1 - 127.0.0.1     Priority: 15     Name: My computer

  Allow connections                         Other
     SMTP:   True                              Antispam :   True !! 'Spam tests' not enabled !!
     POP3:   True                              Antivirus:   True !! ANTIVIRUS NOT CONFIGURED !!
     IMAP:   True                              SSL/TLS:    False

  Allow Deliveries from                     Require Authentication from
     Local To Local       -  True              Local To Local       - False
     Local To External    -  True              Local To External    - False
     External To Local    -  True              External To Local    - False
     External To External -  True              External To External -  True


IP: 0.0.0.0 - 255.255.255.255     Priority: 10     Name: Internet

  Allow connections                         Other
     SMTP:   True                              Antispam :   True !! 'Spam tests' not enabled !!
     POP3:   True                              Antivirus:   True !! ANTIVIRUS NOT CONFIGURED !!
     IMAP:   True                              SSL/TLS:    False

  Allow Deliveries from                     Require Authentication from
     Local To Local       -  True              Local To Local       -  True
     Local To External    -  True              Local To External    -  True
     External To Local    -  True              External To Local    - False
     External To External -  True              External To External -  True


------------------------------------------------------
AUTOBANNED Local Addresses:
    No entries

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

AUTOBAN
  Autoban Enabled: False

No problems were found in the IP range configuration.
-----------------------------------------------------------------------------------------------

INCOMING RELAYS
   No entries
-----------------------------------------------------------------------------------------------

MIRRORING         Disabled
-----------------------------------------------------------------------------------------------

PROTOCOLS

SMTP
GENERAL             DELIVERY                  RFC COMPLIANCE            ADVANCED
No. Connections:  0  No Retries:  4 Mins: 30   Plain Text:        False  Bind: 
                     Host: EXTERNAL.TLD        Empty sender:       True  Batch recipients:   100
Max Msg Size:200480  Relay:-                   Incorrect endings:  True  Use STARTTLS:      True
                      EXTERNAL.TLD  (ok)       Disc. on invalid:  False  Delivered-To hdr: False
                     Port: 465                                           Loop limit:           5
                     Req Auth: True *User Entered*                       Recipient hosts:     15
                     Con. Sec.: SSL/TLS
  Routes:
     No routes defined.

POP3
  No. Connections: 0

IMAP
 GENERAL                   PUBLIC FOLDERS                    ADVANCED
  No. Connections:   0      Public folder name: #Public       IMAP sort:  True
                                                              IMAP Quota: True
                                                              IMAP Idle:  True
                                                              IMAP ACL:   True
                                                              Delim: "."
-----------------------------------------------------------------------------------------------

ANTISPAM

GENERAL                              SPAM TESTS              Score   SPAMASSASSIN
  Spam Mark:                  5       Use SPF:           False        Use Spamassassin:   False
  Add X-HmailServer-Spam:     True    Check HELO host:   False    
  Add X-HmailServer-Reason:   True    Check MX records:  False    
  Add X-HmailServer-Subject: False    Verify DKIM:       False    

  Spam delete threshold: 20         Maximum message size: 1024

DNSBL ENTRIES:
   No 'enabled' entries

SURBL ENTRIES:
   No 'enabled' entries

GREYLISTING:
  Greylisting:  False

WHITELISTING
   No entries
-----------------------------------------------------------------------------------------------

ANTIVIRUS:  No application configured.

  Block Attachments: False
-----------------------------------------------------------------------------------------------

SSL CERTIFICATES
   No entries
-----------------------------------------------------------------------------------------------

SSL/TLS
             SSL 3.0 :  False
             TLS 1.0 :   True
             TLS 1.1 :   True
             TLS 1.2 :   True                Verify Remote SSL/TLS Certs:   True
SslCipherList  :

ECDHE-RSA-AES128-GCM-SHA256     - ECDHE-ECDSA-AES128-GCM-SHA256   - ECDHE-RSA-AES256-GCM-SHA384     
ECDHE-ECDSA-AES256-GCM-SHA384   - DHE-RSA-AES128-GCM-SHA256       - DHE-DSS-AES128-GCM-SHA256       
kEDH+AESGCM                     - ECDHE-RSA-AES128-SHA256         - ECDHE-ECDSA-AES128-SHA256       
ECDHE-RSA-AES128-SHA            - ECDHE-ECDSA-AES128-SHA          - ECDHE-RSA-AES256-SHA384         
ECDHE-ECDSA-AES256-SHA384       - ECDHE-RSA-AES256-SHA            - ECDHE-ECDSA-AES256-SHA          
DHE-RSA-AES128-SHA256           - DHE-RSA-AES128-SHA              - DHE-DSS-AES128-SHA256           
DHE-RSA-AES256-SHA256           - DHE-DSS-AES256-SHA              - DHE-RSA-AES256-SHA              
AES128-GCM-SHA256               - AES256-GCM-SHA384               - ECDHE-RSA-RC4-SHA               
ECDHE-ECDSA-RC4-SHA             - AES128                          - AES256                          
RC4-SHA                         - HIGH                            - !aNULL                          
!eNULL                          - !EXPORT                         - !DES                            
!3DES                           - !MD5                            - !PSK;                           
-----------------------------------------------------------------------------------------------

TCPIP PORTS                                         Connection Sec
               0.0.0.0         / 25    / SMTP   -   None                
               0.0.0.0         / 110   / POP3   -   None                
               0.0.0.0         / 143   / IMAP   -   None                
               0.0.0.0         / 587   / SMTP   -   None                
-----------------------------------------------------------------------------------------------

LOGGING      Logging Enabled: True

  Paths:-
    Current:  C:\Program Files (x86)\hMailServer\Logs\hmailserver_2019-01-28.log
    Error:    C:\Program Files (x86)\hMailServer\Logs\ERROR_hmailserver_2019-01-28.log - !! ERRORS PRESENT !!
    Event:    C:\Program Files (x86)\hMailServer\Logs\hmailserver_events.log - Not present
    Awstats:  C:\Program Files (x86)\hMailServer\Logs\hmailserver_awstats.log
                        APPLICATION -    True
                        SMTP        -      .
                        POP3        -    True
                        IMAP        -      .
                        TCPIP       -      .
                        DEBUG       -    True
                        AWSTATS     -    True
-----------------------------------------------------------------------------------------------

SYSTEM TESTS

Database type: MSSQL Compact

IPv6 support is available in operating system.

ERROR: Backup directory has not been specified.

Relative message paths are stored in the database for all messages.

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

HMAILSERVER.INI

[Directories]
Program folder:  C:\Program Files (x86)\hMailServer\
Database folder: C:\Program Files (x86)\hMailServer\Database
Data folder:     C:\Program Files (x86)\hMailServer\Data
Log folder:      C:\Program Files (x86)\hMailServer\Logs
Temp folder:     C:\Program Files (x86)\hMailServer\Temp
Event folder:    C:\Program Files (x86)\hMailServer\Events

[Database]
Type=              MSSQLCE
Username=           
PasswordEncryption=1
Port=              0
Server=             
Internal=          1
-----------------------------------------------------------------------------------------------

Generated by HMSSettingsDiagnostics v1.95, Hmailserver Forum.

User avatar
mattg
Moderator
Moderator
Posts: 20239
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Fresh installed HMAIL server runs out of memory.

Post by mattg » 2019-01-29 01:01

There are errors shown in your error log

Can you show the contents of that log please
Error: C:\Program Files (x86)\hMailServer\Logs\ERROR_hmailserver_2019-01-28.log - !! ERRORS PRESENT !!
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

Marc H
New user
New user
Posts: 9
Joined: 2014-02-02 03:08

Re: Fresh installed HMAIL server runs out of memory.

Post by Marc H » 2019-01-29 17:52

The error log you requested.

Thnx for the help :)
Attachments
ERROR_hmailserver_2019-01-28.zip
(14.85 KiB) Downloaded 25 times

User avatar
RvdH
Senior user
Senior user
Posts: 817
Joined: 2008-06-27 14:42
Location: Netherlands

Re: Fresh installed HMAIL server runs out of memory.

Post by RvdH » 2019-01-29 17:59

Have you excluded the \Data\ and \Temp\ folder for realtime scanning in McAfee Livesafe?
CIDR to RegEx: d-fault.nl/CIDRtoRegEx
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup

Marc H
New user
New user
Posts: 9
Joined: 2014-02-02 03:08

Re: Fresh installed HMAIL server runs out of memory.

Post by Marc H » 2019-01-29 21:31

I had the same idea and removed Livesave because it can't exclude folders. I'm running now with Microsoft defender and i excluded the whole Hmail folder.
Since i removed Mcafee (Six hours and counting) no more running out of memory errors. :D

I'm keeping my fingers crossed. :)

User avatar
mattg
Moderator
Moderator
Posts: 20239
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Fresh installed HMAIL server runs out of memory.

Post by mattg » 2019-01-29 22:31

Yep, Those errors certainly look like they could be caused by Antivirus holding files for inspection
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

Marc H
New user
New user
Posts: 9
Joined: 2014-02-02 03:08

Re: Fresh installed HMAIL server runs out of memory.

Post by Marc H » 2019-01-30 21:24

Nope, did not fix it. I still get out of memory errors . :(

Would installing the 64 bit version help?
Attachments
Desktop.zip
(180.45 KiB) Downloaded 21 times

User avatar
SorenR
Senior user
Senior user
Posts: 3215
Joined: 2006-08-21 15:38
Location: Denmark

Re: Fresh installed HMAIL server runs out of memory.

Post by SorenR » 2019-01-31 00:13

Are you using the built-in scripting (WScript/JScript)?

I recently restructured my script (1,000+ lines) and experimented with moving some common ActiveX code into "public space". I got a minor error when the server loaded up, but it showed some weird behaviour. It all went away once I put a "function" around the ActiveX code...

Just my 2 cents...
SørenR.

“With age comes wisdom, but sometimes age comes alone.”
- Oscar Wilde

Marc H
New user
New user
Posts: 9
Joined: 2014-02-02 03:08

Re: Fresh installed HMAIL server runs out of memory.

Post by Marc H » 2019-01-31 01:47

SorenR wrote:
2019-01-31 00:13
Are you using the built-in scripting (WScript/JScript)?

I recently restructured my script (1,000+ lines) and experimented with moving some common ActiveX code into "public space". I got a minor error when the server loaded up, but it showed some weird behaviour. It all went away once I put a "function" around the ActiveX code...

Just my 2 cents...
nope, no modifications. Just a plain Windows 10 install on a hyper-v and after running all updates in installed Hmailserver, latest version.

I just use external account to grab the new mails end route the smtp traffic to the providers smtp server.

I just looked at the largest mailbox, it has over 35.000 mails in it, too much?

User avatar
SorenR
Senior user
Senior user
Posts: 3215
Joined: 2006-08-21 15:38
Location: Denmark

Re: Fresh installed HMAIL server runs out of memory.

Post by SorenR » 2019-01-31 02:27

Marc H wrote:
2019-01-31 01:47
SorenR wrote:
2019-01-31 00:13
Are you using the built-in scripting (WScript/JScript)?

I recently restructured my script (1,000+ lines) and experimented with moving some common ActiveX code into "public space". I got a minor error when the server loaded up, but it showed some weird behaviour. It all went away once I put a "function" around the ActiveX code...

Just my 2 cents...
nope, no modifications. Just a plain Windows 10 install on a hyper-v and after running all updates in installed Hmailserver, latest version.

I just use external account to grab the new mails end route the smtp traffic to the providers smtp server.

I just looked at the largest mailbox, it has over 35.000 mails in it, too much?
I would say it time for a REAL database... SQL CE is on the level of the SQLite DB that people embed in their phone app's...
SørenR.

“With age comes wisdom, but sometimes age comes alone.”
- Oscar Wilde

User avatar
Dravion
Senior user
Senior user
Posts: 1476
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Fresh installed HMAIL server runs out of memory.

Post by Dravion » 2019-01-31 03:52

If you really run out of Memory, you should checkout a 64-Bit version of hMailServer with large Memory support

You can built it yourself for 64-Bit or checkout a personal build by some users, here is mine

viewtopic.php?f=10&t=33576

Post Reply