Menu

System.OutOfMemoryException

Help
alexey-ua
2009-09-17
2013-05-01
  • alexey-ua

    alexey-ua - 2009-09-17

    Hi.
    We started to use SubversionNotify_v2.0.10 because of it new feature 'ExcludeFromPrecedenceFilter'

    when we updating exist document all fine, all users received their notify emails.
    But
    when we adding new document or moving some of exist documents in tortoise repo browser we have error in tortoise (and none of the emails):

    Warning  post commit hook failed (exit code 5000) with output 
    Warning  Subversion Notify error 
    Warning  Please check you administrator check  the log for details

    and in SubversionNotify.log  such exception.

    System.OutOfMemoryException: Выдано исключение типа "System.OutOfMemoryException".
       в System.String.GetStringForStringBuilder(String value, Int32 startIndex, Int32 length, Int32 capacity)
       в System.Text.StringBuilder.GetNewString(String currentString, Int32 requiredLength)
       в System.Text.StringBuilder.Append(String value)
       в SubversionNotify.HTMLProcessor.DiffFilesHTML(String unifiedDiff)
       в SubversionNotify.HTMLProcessor.DiffFilesHTML()
       в SubversionNotify.HTMLProcessor.ProcessMessage(List`1 trackedItems)
       в SubversionNotify.Program.PostCommitProcessing(HTMLProcessor proc, subversionNotifyConfig cfg, String logFileName, String baseFolder)
       в SubversionNotify.Program..ctor(String repository, String revision, ProcessType prePost)
       в SubversionNotify.Program.Main(String args)
    Provided Arguments: D:\AmberCoreSVN\SVNRoot 23350 -post
    D:\AmberCoreSVN\SVNRoot\hooks\SubversionNotify\SubversionNotify.log
    Subversion Notify error.
    Please have your administrator check the log for details on how to correct the issue

     
  • Bastian Schmidt

    Bastian Schmidt - 2009-09-17

    I've got a patch for that error.
    Will commit it tommorrow if i'm allowed to.

     
  • alexey-ua

    alexey-ua - 2009-09-24

    Hi.
    When will be available fixed release ? or where i may download fixed binary file ?

     
  • Bastian Schmidt

    Bastian Schmidt - 2009-09-24

    The fixed binaries are available via subversion.

     
  • alexey-ua

    alexey-ua - 2009-09-30

    Thank you !!!
    It works fine !

     
  • phmeso

    phmeso - 2009-10-16

    The repository looks a bit curious. I think the fixed version is under svn-notify/branches/Version 2.0/SubversionNotify/bin/Debug/. Will there be an release coming soon? Because I also have the OutOfMemory Problem. Tagging, branching and so on is not possible with SubversionNotify_v2.0.10. I tried eclipse subversive client and the tortoise client.

     
  • phmeso

    phmeso - 2009-10-16

    I copied the files from svn-notify/branches/Version 2.0/SubversionNotify/bin/Debug/ over the files from SubversionNotify_v2.0.10. But it still does not work because of the OutOfMemoryException. Did i use the wrong fix?

     
  • alexey-ua

    alexey-ua - 2009-10-16

    Maybe the reason of you exception is another … I dont know.
    Try to ask batzendev for help …

     
  • Bastian Schmidt

    Bastian Schmidt - 2009-10-18

    I can branch without problems. Do you have more details on your exception? Maybe the log of those commits?
    I commited my files to svn-notify/branches/Version 2.0/SubversionNotify/bin/Debug/ so that's the correct path.
    By the way, it doesn't make a difference which client you use.

     
  • phmeso

    phmeso - 2009-10-19

    The log says:

    Starting process for Revision 12705-1
    Configuration file deserialized. Logging level set to: ERROR
    *************************
    Starting process for Revision 12706-1
    Configuration file deserialized. Logging level set to: ERROR
    System.OutOfMemoryException: Eine Ausnahme vom Typ System.OutOfMemoryException wurde ausgelöst.
       bei System.Globalization.TextInfo.nativeChangeCaseString(Int32 win32LangID, Void* pNativeTextInfo, String str, Boolean isToUpper)
       bei System.Globalization.TextInfo.ToLower(String str)
       bei System.String.ToLower(CultureInfo culture)
       bei System.String.ToLower()
       bei SubversionNotify.CaseCheck.GenerateListing(String directoryList, SvnLookProcessor& svnLook)
       bei SubversionNotify.Program.PreCommitProcessing(HTMLProcessor proc, subversionNotifyConfig cfg, String logFileName)
       bei SubversionNotify.Program..ctor(String repository, String revision, ProcessType prePost)
       bei SubversionNotify.Program.Main(String args)
    Provided Arguments: E:\Subversion-rep\RamDos 12706-1 -pre

     
  • phmeso

    phmeso - 2009-10-19

    I tried to create a folder in Project/branches and in Project/tags. It worked on Project/branches but it did not work in Project/tags. There I got the following log entries:

        Starting process for Revision 12887-1
        Configuration file deserialized. Logging level set to: DEBUG
        SubversionNotify, Version=2.0.10.0, Culture=neutral, PublicKeyToken=null
        Bugzilla :: Beginning Deserialization
        Bugzilla :: Successfully loaded BugzillaConfig object
        Processing type: pre-commit
        Commit Paths: /tags/
        Controlled Paths List:  /
        Found Applicable RepoConfig: '/' with /tags/
        SetRepoPathPrecidence :: Incomming configs = 1 ; Returning configs = 1
        SelectApplicableReproConfigs :: Returning 1 RepoPathConfig objects
        LockedPaths :: No check elements found.
        PreCommitProcessing :: Generating SvnLook directory file listing
       
        System.OutOfMemoryException: Eine Ausnahme vom Typ System.OutOfMemoryException wurde ausgelöst.
           bei System.Globalization.TextInfo.nativeChangeCaseString(Int32 win32LangID, Void* pNativeTextInfo, String str, Boolean isToUpper)
           bei System.Globalization.TextInfo.ToLower(String str)
           bei System.String.ToLower(CultureInfo culture)
           bei System.String.ToLower()
           bei SubversionNotify.CaseCheck.GenerateListing(String directoryList, SvnLookProcessor& svnLook)
           bei SubversionNotify.Program.PreCommitProcessing(HTMLProcessor proc, subversionNotifyConfig cfg, String logFileName)
           bei SubversionNotify.Program..ctor(String repository, String revision, ProcessType prePost)
           bei SubversionNotify.Program.Main(String args)
        Provided Arguments: E:\Subversion-rep\FueInfoSysH 12887-1 -pre
       
        D:\Anwendungen\svnnotify\SubversionNotify.log
         Subversion Notify error.
        Please have your administrator check the log for details on how to correct the issue

    I also tried the operation on a newly created repository with almost no content. There I got no errors from subversion-notify.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.