Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • System Architecture
      • DataMiner Releases & Updates
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Compilation of QAction in new connector version fails because of OutOfMemoryException.

Solved822 views17th July 2023Cube precompile
3
Matthias Neirinck [SLC] [DevOps Enabler]76 4th January 2022 0 Comments

Hi,
I'm trying to update a connector in the environment of a user but the compilation for the QActions fails each time because of an OutOfMemoryException. The device has around 70% total memory usage and no significant memory usage of processes was found.
I also tried changing the version number of an existing functioning connector and this is giving me the same problem for the new version.
This is the error that I'm receiving:

2022/01/03 16:32:06.640|SLProtocol - 4420 - QMU99DELL01_ComSonics QAM Marker|19856|CManagedScript::Load|ERR|-1|Compilation failed for QAction 1
System.OutOfMemoryException: Insufficient memory to continue the execution of the program.
at System.Runtime.InteropServices.Marshal.AllocHGlobal(IntPtr cb)
at System.Reflection.Internal.NativeHeapMemoryBlock.DisposableData..ctor(Int32 size)
at System.Reflection.Internal.StreamMemoryBlockProvider.ReadMemoryBlockNoLock(Stream stream, Boolean isFileStream, Int64 start, Int32 size)
at System.Reflection.PortableExecutable.PEReader..ctor(Stream peStream, PEStreamOptions options, Int32 size)
at Microsoft.CodeAnalysis.ModuleMetadata.CreateFromStream(Stream peStream, PEStreamOptions options)
at Microsoft.CodeAnalysis.MetadataReference.CreateFromFile(String path, MetadataReferenceProperties properties, DocumentationProvider documentation)
at Skyline.DataMiner.Scripting.CodeBuilder.CompileWithRoslyn()
at Skyline.DataMiner.Scripting.CodeBuilder.BuildCSharp()
at CManagedScript.Load(CManagedScript* , tagVARIANT varContent, Int32 iCoding, Int32 iResourceType, tagVARIANT varOptions, IUnknown* pProtocol, Int32* piCookie)

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 17th July 2023

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
4
Wouter Demuynck [SLC] [DevOps Advocate]5.93K Posted 4th January 2022 0 Comments

QActions get compiled as part of the SLScripting process.

My guess is that either the process is near its limit (about 4GB VM size), or that there's a problem with one of the referenced DLLs (but that is more unlikely).

In any case, there is not enough free memory available in the process or system to continue.

Best option would be to restart the DataMiner Agent (assuming the memory usage grew over time).

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 17th July 2023
You are viewing 1 out of 1 answers, click here to view all answers.
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin