Hi infratec,
I want to simulate 1000 concurrent user for a set amount of time so i modified your code, but i got this error:
[19:08:44] The Program was killed.
[19:08:48] Waiting for executable to start...
[19:08:47] Executable type: Windows - x86 (32bit, Unicode, Thread, Purifier)
[19:08:48 ...
Search found 77 matches
- Wed Jul 05, 2017 1:13 pm
- Forum: Coding Questions
- Topic: Threadsafe Libcurl HTTPS Post
- Replies: 30
- Views: 11271
- Mon Jul 03, 2017 4:49 am
- Forum: Coding Questions
- Topic: Threadsafe Libcurl HTTPS Post
- Replies: 30
- Views: 11271
Re: Threadsafe Libcurl HTTPS Post
Hi infratec and Olliv,
I still got the error after few seconds,
[01:33:32] Waiting for executable to start...
[01:33:32] Executable type: Windows - x86 (32bit, Unicode)
[01:33:32] Executable started.
[01:33:34] [ERROR] Line: 31
[01:33:34] [ERROR] Invalid memory access. (write error at address 0 ...
I still got the error after few seconds,
[01:33:32] Waiting for executable to start...
[01:33:32] Executable type: Windows - x86 (32bit, Unicode)
[01:33:32] Executable started.
[01:33:34] [ERROR] Line: 31
[01:33:34] [ERROR] Invalid memory access. (write error at address 0 ...
- Sun Jul 02, 2017 6:42 pm
- Forum: Coding Questions
- Topic: Threadsafe Libcurl HTTPS Post
- Replies: 30
- Views: 11271
Threadsafe Libcurl HTTPS Post
I use this lib and example and got random crashes after few seconds,
how to make it threadsafe? I want to use it for stress-testing my api server, thank you.
[00:36:12] Waiting for executable to start...
[00:36:12] Executable type: Windows - x86 (32bit, Unicode, Thread, Purifier)
[00:36:12 ...
how to make it threadsafe? I want to use it for stress-testing my api server, thank you.
[00:36:12] Waiting for executable to start...
[00:36:12] Executable type: Windows - x86 (32bit, Unicode, Thread, Purifier)
[00:36:12 ...
- Tue May 10, 2016 7:53 am
- Forum: Coding Questions
- Topic: How to Send HTML Mail with GMAIL?
- Replies: 0
- Views: 1302
How to Send HTML Mail with GMAIL?
Hi, i want to send HTML mail with Zurb Foundation : http://foundation.zurb.com/emails.html
but i can't send it, the html code sent as plain text.
I'm trying to send HTML Mail with Attachments.
Using this code can send plain text just fine.
; process to test new email capabilities in PB 5.40 ...
but i can't send it, the html code sent as plain text.
I'm trying to send HTML Mail with Attachments.
Using this code can send plain text just fine.
; process to test new email capabilities in PB 5.40 ...
- Fri Sep 04, 2015 11:11 am
- Forum: Announcement
- Topic: PureBasic 5.40 LTS beta 10 is out !
- Replies: 213
- Views: 93183
Re: PureBasic 5.40 LTS beta 2 is out !
Got this error with COMatePLUS.pbi after updating to 5.40 Beta:
hResult = CLSIDFromProgID_(progID, @clsid);
Bad parameter a string is expected.
this become error too
GetCurrentDirectory_(#MAX_PATH, CurrentPath$)
Bad parameter type, number expected instead of string
Global CurPath.s = Space ...
hResult = CLSIDFromProgID_(progID, @clsid);
Bad parameter a string is expected.
this become error too
GetCurrentDirectory_(#MAX_PATH, CurrentPath$)
Bad parameter type, number expected instead of string
Global CurPath.s = Space ...
- Fri Sep 04, 2015 10:35 am
- Forum: Announcement
- Topic: PureBasic 5.40 LTS beta 10 is out !
- Replies: 213
- Views: 93183
Re: PureBasic 5.40 LTS beta 2 is out !
Got this error with COMatePLUS.pbi after updating to 5.40 Beta:
hResult = CLSIDFromProgID_(progID, @clsid);
Bad parameter a string is expected.
this become error too
GetCurrentDirectory_(#MAX_PATH, CurrentPath$)
Bad parameter type, number expected instead of string
hResult = CLSIDFromProgID_(progID, @clsid);
Bad parameter a string is expected.
this become error too
GetCurrentDirectory_(#MAX_PATH, CurrentPath$)
Bad parameter type, number expected instead of string
- Tue Sep 01, 2015 3:51 am
- Forum: Announcement
- Topic: PureBasic 5.40 LTS beta 10 is out !
- Replies: 213
- Views: 93183
Re: PureBasic 5.40 LTS beta 1 is out !
Async HTTP and Added HTTPS/TLS support for SendMail()
Whoa whoa whoa.
GREAT JOB THANK YOU!
Any example using The NEW SendMail() for gmail please?
======================
I hope there will be built in HTML5 support for easier GUI, so we can make great UI by using html5 + css3 and JS
Load HTML, CSS ...
Whoa whoa whoa.
GREAT JOB THANK YOU!
Any example using The NEW SendMail() for gmail please?
======================
I hope there will be built in HTML5 support for easier GUI, so we can make great UI by using html5 + css3 and JS
Load HTML, CSS ...
- Thu Jun 25, 2015 5:11 am
- Forum: Tricks 'n' Tips
- Topic: PDF417 barcode encoder (crossplatform)
- Replies: 7
- Views: 3840
Re: PDF417 barcode encoder (crossplatform)
Whoa, thanks a lot for your great work!bbanelli wrote:Greetings to all,
I finally found some time and fixed my faulty PDF417 2D barcode encoder code. Hope it will help someone!
With my best,
Bruno
- Fri Apr 03, 2015 12:58 pm
- Forum: Tricks 'n' Tips
- Topic: PureBasic Interface to ImDisk
- Replies: 41
- Views: 41095
Re: PureBasic Interface to ImDisk
Thank you very much for your hardworks JHPJHP
RamDisk is very useful for running disk-less / hardisk-less system,
to provide ultra fast speed cache, to all the clients.
It also useful for gamer to improve loading speed :)
and Memory like V-GEN has a lifetime warranty :D
Please let me know if you ...
RamDisk is very useful for running disk-less / hardisk-less system,
to provide ultra fast speed cache, to all the clients.
It also useful for gamer to improve loading speed :)
and Memory like V-GEN has a lifetime warranty :D
Please let me know if you ...
- Thu Jan 15, 2015 9:36 am
- Forum: Tricks 'n' Tips
- Topic: Speech Recognition Command and Control SAPI 5.1
- Replies: 4
- Views: 7139
Re: Speech Recognition Command and Control SAPI 5.1
using pb 5.31 32bit, compile in unicode
Help, I got this error : " Initialization of motor speech recognition failed! "
sol.xml has been created ( UTF-8 )
Help, I got this error : " Initialization of motor speech recognition failed! "
sol.xml has been created ( UTF-8 )
- Wed Dec 24, 2014 6:32 pm
- Forum: Coding Questions
- Topic: Passing Structure to Threaded Procedures - Memory Leak?
- Replies: 11
- Views: 3844
Re: Passing Structure to Threaded Procedures - Memory Leak?
@ostapas
yeah, i've learned a lot too
yeah, i've learned a lot too

- Tue Dec 23, 2014 6:50 am
- Forum: Coding Questions
- Topic: Passing Structure to Threaded Procedures - Memory Leak?
- Replies: 11
- Views: 3844
Re: Passing Structure to Threaded Procedures - Memory Leak?
Debugger OFF, Threadsafe ON, Unicode ON, PB 32bit, W7 x64
AllocateStructure, FreeStructure
6225000/7060
AllocateMemory, InitializeStructure, ClearStructure, FreeMemory
6118000/7068
Prototype.l GetProcessMemoryInfo_(hProcess.l, *p, cb.l)
Procedure.l GetProcessMemoryUsage(kilobytes.b=#True ...
AllocateStructure, FreeStructure
6225000/7060
AllocateMemory, InitializeStructure, ClearStructure, FreeMemory
6118000/7068
Prototype.l GetProcessMemoryInfo_(hProcess.l, *p, cb.l)
Procedure.l GetProcessMemoryUsage(kilobytes.b=#True ...
- Mon Dec 22, 2014 11:20 am
- Forum: Coding Questions
- Topic: Passing Structure to Threaded Procedures - Memory Leak?
- Replies: 11
- Views: 3844
Re: Passing Structure to Threaded Procedures - Memory Leak?
@User_Russian
i have tested your code
unfortunately it still increased ( Debugger ON with Purifier )
it start from 1,524K and after about 170298 calls ( i checked it with Callstack )
it became 1,904K
i have tested your code
unfortunately it still increased ( Debugger ON with Purifier )
it start from 1,524K and after about 170298 calls ( i checked it with Callstack )
it became 1,904K
- Mon Dec 22, 2014 7:57 am
- Forum: Coding Questions
- Topic: Passing Structure to Threaded Procedures - Memory Leak?
- Replies: 11
- Views: 3844
Re: Passing Structure to Threaded Procedures - Memory Leak?
i use 5.31 32bit on x64 machine
after several minutes ( about 5min ) it start growing a little,
then it grow from below 2,000K to above 2,000K
now it's 2,496K
after several minutes ( about 5min ) it start growing a little,
then it grow from below 2,000K to above 2,000K
now it's 2,496K
- Mon Dec 22, 2014 6:57 am
- Forum: Coding Questions
- Topic: Passing Structure to Threaded Procedures - Memory Leak?
- Replies: 11
- Views: 3844
Passing Structure to Threaded Procedures - Memory Leak?
Hi, i've been trying to create a procedure that pass a structure to another procedures with structure's pointer but
when i monitored it, the memory usage keep increasing.
Structure testSTR
String$
Semaphore.i
EndStructure
Procedure P1(*TMP.testSTR)
String$ = *TMP\String$
SignalSemaphore ...
when i monitored it, the memory usage keep increasing.
Structure testSTR
String$
Semaphore.i
EndStructure
Procedure P1(*TMP.testSTR)
String$ = *TMP\String$
SignalSemaphore ...