-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
the following works just fine:
julia> for i in 1:10000 GlobalDictInterface.Update("c1", "k$i", "v$i"^1000) end
But stress testing it it doesn't:
julia> while true; for i in 1:1000 GlobalDictInterface.Update("c1", "k$i", "v$i"^1000) end; sleep(1); end
ERROR: CLRException: System.MissingMethodException: Method 'GlobalDictInterfaceForJulia.GlobalDictInterface.Update' not found.
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at CLRBridge.Meta.InvokeMember(IntPtr type, String name, BindingFlags bindingFlags, IntPtr binder, IntPtr target, IntPtr[] providedArgs, UInt32 argCount, IntPtr& exception)
Stacktrace:
[1] track_and_throw(exhandle::UInt64)
@ DotNET.CLRBridge C:\Users\<user>\.julia\packages\DotNET\Rx490\src\CLRBridge.jl:46
[2] InvokeMember(type::UInt64, name::String, bindingFlags::UInt32, binder::Int64, target::UInt64, providedArgs::Vector{Union{}})
@ DotNET.CLRBridge C:\Users\<user>\.julia\packages\DotNET\Rx490\src\CLRBridge.jl:325
[3] invokemember(::UInt32, ::CLRObject, ::CLRObject, ::Symbol)
@ DotNET C:\Users\<user>\.julia\packages\DotNET\Rx490\src\marshalling.jl:83
[4] invokemember
@ C:\Users\<user>\.julia\packages\DotNET\Rx490\src\marshalling.jl:94 [inlined]
[5] getproperty(obj::CLRObject, sym::Symbol)
@ DotNET C:\Users\<user>\.julia\packages\DotNET\Rx490\src\operators.jl:89
[6] top-level scope
@ .\REPL[15]:1
But trying after the error happend it works again:
julia> for i in 1:10000 GlobalDictInterface.Update("c1", "k$i", "v$i"^1000) end
Metadata
Metadata
Assignees
Labels
No labels