Skip to content
This repository has been archived by the owner on Aug 12, 2020. It is now read-only.

windows does not release RAM after operations #113

Open
ajdamico opened this issue Mar 1, 2017 · 2 comments
Open

windows does not release RAM after operations #113

ajdamico opened this issue Mar 1, 2017 · 2 comments
Milestone

Comments

@ajdamico
Copy link
Contributor

ajdamico commented Mar 1, 2017

review whether this (RESOLVED FIXED) bug has re-appeared in mserver or only in monetdblite

https://www.monetdb.org/bugzilla/show_bug.cgi?id=3835

definitely still happening in monetdblite (absurd screenshot)

impossible amounts of ram

@ajdamico ajdamico self-assigned this Mar 1, 2017
@ajdamico
Copy link
Contributor Author

ajdamico commented Mar 1, 2017

obvious ram-intensive processes are releasing memory as expected. might need to look closer at sisyphus after lodown has been added to get a useable reproducible example

# using latest working windows github MonetDBLite
# devtools::install_github("hannesmuehleisen/MonetDBLite",ref="fcb21f4c4223024922221d4ed1a8e78d647d8abe")


dbdir <- tempdir()
tf <- tempfile()

library(DBI)
library(MonetDBLite)

# # monetdblite
# con <- dbConnect(MonetDBLite() , dbdir )

# # mserver
# startscript <- monetdb.server.setup(dbdir,"C:/Program Files/MonetDB/MonetDB5", "mydb", 50001)
# pid <- monetdb.server.start(startscript)
# con <- dbConnect(MonetDB.R(), "monetdb://localhost:50001/mydb" , wait = TRUE )


# 320,0000 records
x <- mtcars[ rep( 1:32 , 10000 ) , ]

write.csv( x , tf , row.names = FALSE )
dbWriteTable( con , 'x' , tf )

for( i in 1:100 ) {

	print( paste( "creating new table" , i , Sys.time() ) )
	dbSendQuery( con , paste0( "CREATE TABLE x" , i , " AS SELECT * FROM x WITH DATA" ) )
	
}

# monetdb.server.stop(pid)
# unlink( dbdir , recursive = TRUE )

@ajdamico ajdamico added this to the 0.4.0 milestone Mar 1, 2017
@hannes
Copy link
Owner

hannes commented Jun 15, 2017

is this still an issue?

@ajdamico ajdamico modified the milestones: 0.4.0, 0.5.0 Jun 24, 2017
@ajdamico ajdamico removed their assignment Nov 5, 2017
@hannes hannes modified the milestones: 0.5.0, 0.6.0 Nov 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants