Stack control

jtp
Member Posts: 9
I'm running one form with OnTimer property set to 60000 and I'm calling one codeunit on OnTimer trigger.
Sometimes Navision client hangs up or shuts down. I already increase dbms cache and object cache and this problem still the same.
Anyone know how Navision handle stack memory and how can I release it or increase it?
Sometimes Navision client hangs up or shuts down. I already increase dbms cache and object cache and this problem still the same.
Anyone know how Navision handle stack memory and how can I release it or increase it?
José Inácio Tira Picos
Consulting Services
SystemHouse - Consultoria e Sistemas
j.tirapicos@systemhouse.pt
Consulting Services
SystemHouse - Consultoria e Sistemas
j.tirapicos@systemhouse.pt
0
Comments
-
I think, you need to set a flag in OnTimer trigger to prevent call your codeunit again:
if not flag then begin
flag := true;
codeunit calling
flag := false;
end;0 -
Thanks for your help.
I already tried, but its not enough.José Inácio Tira Picos
Consulting Services
SystemHouse - Consultoria e Sistemas
j.tirapicos@systemhouse.pt0 -
Try use "'Navision Timer 1.0'.Timer" automation instead form OnTimer.0
-
You can't access the memory directly from Navision. The only way to even come close to manipulate is by cleaning up variables using the CLEAR statement, but I don't think that will make a big difference unless you are using an automation or an OCX in this timer.0
-
Are you using NAS?
You can set the "SingleInstance"-property of the codeunit to "yes". This helps when you use NAS, but I don't know if you do. (You should, because the first NAS-service is for free, and it is much more stable than a Navision Client).0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions